fix: node.matches is not a function (#216)
fix: node.matches is not a function (#216)

* Fix node.matches is not a function

* Simplify return clause

testing-library/dom-testing-library,testing-library/dom-testing-library