Skip to content

Commit 999f821

Browse files
keithamuskoddsson
andcommitted
test: remove useless test
Co-authored-by: Kristján Oddsson <koddsson@gmail.com>
1 parent 9ef418a commit 999f821

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

test/bind.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ describe('bind', () => {
2020
root.remove()
2121
})
2222

23-
it('queries for Elements matching data-action*="tagname"', () => {
24-
const instance = document.createElement('bind-test-element')
25-
chai.spy.on(instance, 'querySelectorAll', () => [])
26-
bind(instance)
27-
expect(instance.querySelectorAll).to.have.been.called.once.with.exactly('[data-action*=":bind-test-element#"]')
28-
})
29-
3023
it('binds events on elements based on their data-action attribute', () => {
3124
const instance = document.createElement('bind-test-element')
3225
chai.spy.on(instance, 'foo')

0 commit comments

Comments
 (0)