File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 42
42
node-version-file : .nvmrc
43
43
- name : Install Node dependencies
44
44
run : npm ci
45
- - run : node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.txt
45
+ - run : node --test --experimental-test-coverage --test-reporter=spec --test-reporter= lcov --test-reporter-destination=stdout --test-reporter-destination=lcov.txt
46
46
- uses : codecov/codecov-action@v4
47
47
with :
48
48
token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -41,9 +41,11 @@ describe('S3FileInput', () => {
41
41
} )
42
42
43
43
test ( 'changeHandler' , ( ) => {
44
+ const form = document . createElement ( 'form' )
44
45
const input = new s3file . S3FileInput ( )
45
46
input . keys = [ 'key' ]
46
47
input . upload = 'upload'
48
+ form . appendChild ( input )
47
49
input . changeHandler ( )
48
50
assert ( ! input . keys . length )
49
51
assert ( ! input . upload )
You can’t perform that action at this time.
0 commit comments