We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e755c96 commit b0ae7efCopy full SHA for b0ae7ef
test/test.js
@@ -232,6 +232,14 @@ describe('auto-check element', function() {
232
input.dispatchEvent(new InputEvent('change'))
233
234
})
235
+
236
+ it('do not emit if essential attributes are missing', async function() {
237
+ const events = []
238
+ checker.removeAttribute('src')
239
+ input.addEventListener('auto-check-start', event => events.push(event.type))
240
+ triggerChange(input, 'hub')
241
+ assert.deepEqual(events, [])
242
+ })
243
244
245
0 commit comments