(
tagName: string,
attrs: string[] | null,
selector: CssSelectorList,
)
| 500 | |
| 501 | describe('isNodeMatchingSelectorList', () => { |
| 502 | function isAnyMatching( |
| 503 | tagName: string, |
| 504 | attrs: string[] | null, |
| 505 | selector: CssSelectorList, |
| 506 | ): boolean { |
| 507 | return isNodeMatchingSelectorList(testLStaticData(tagName, attrs), selector, false); |
| 508 | } |
| 509 | |
| 510 | it('should match when there is only one simple selector without negations', () => { |
| 511 | expect(isAnyMatching('span', null, [['span']])).toBeTruthy( |
no test coverage detected
searching dependent graphs…