Skip to content

Commit b762d66

Browse files
committed
Connect file-attachment & input
1 parent 35bd606 commit b762d66

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ describe('file-attachment', function() {
6060
describe('element', function() {
6161
let fileAttachment, input
6262
beforeEach(function() {
63-
document.body.innerHTML = `<file-attachment><input type="file"></file-attachment>`
63+
document.body.innerHTML = `
64+
<file-attachment input="upload">
65+
<input type="file" id="upload">
66+
</file-attachment>`
6467

6568
fileAttachment = document.querySelector('file-attachment')
6669
input = document.querySelector('input')

0 commit comments

Comments
 (0)