Contributed to open source
Added an option to `dom-testing-library` which allows to set a default selector for ignored nodes when querying for text. 

https://github.com/testing-library/dom-testing-library/pull/1138