1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-09 07:06:36 +02:00

Remove SelectorEngine.matches(). (#32339)

It's basically unused.
This commit is contained in:
XhmikosR
2020-12-07 19:10:20 +02:00
committed by GitHub
parent 33b275c04b
commit d15a0247ce
2 changed files with 2 additions and 14 deletions

View File

@@ -14,14 +14,6 @@ describe('SelectorEngine', () => {
clearFixture()
})
describe('matches', () => {
it('should return matched elements', () => {
fixtureEl.innerHTML = '<div></div>'
expect(SelectorEngine.matches(fixtureEl, 'div')).toEqual(true)
})
})
describe('find', () => {
it('should find elements', () => {
fixtureEl.innerHTML = '<div></div>'