We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ef418a commit 999f821Copy full SHA for 999f821
1 file changed
test/bind.js
@@ -20,13 +20,6 @@ describe('bind', () => {
20
root.remove()
21
})
22
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
-
30
it('binds events on elements based on their data-action attribute', () => {
31
const instance = document.createElement('bind-test-element')
32
chai.spy.on(instance, 'foo')
0 commit comments