Skip to content

Commit ad4b9ea

Browse files
committed
Ensure no content load until input is focused
1 parent 27837f2 commit ad4b9ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ describe('remote-input', function() {
2929
const remoteInput = document.querySelector('remote-input')
3030
const input = document.querySelector('input')
3131
const results = document.querySelector('#results')
32+
assert.equal(results.innerHTML, '')
3233
remoteInput.addEventListener('loadend', function() {
3334
assert.equal(results.querySelector('ol').getAttribute('data-src'), '/results?q=test')
3435
done()

0 commit comments

Comments
 (0)