File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed
Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change 2525 with :
2626 github-token : ${{ secrets.GITHUB_TOKEN }}
2727
28- - name : Upload coverage report on Node v${{ matrix.node }} to codecov.io...
29- uses : codecov/codecov-action@v2
30- with :
31- token : ${{secrets.CODECOV_TOKEN}}
32- files : ./coverage/lcov.info
33- flags : electron
34- name : codecov-client-electron
35- fail_ci_if_error : true
36- verbose : true
Original file line number Diff line number Diff line change @@ -78,17 +78,18 @@ describe('EventListener Testing', () => {
7878 EventListener . on ( win , 'scroll' , scrollListener ) ;
7979 }
8080 } )
81+ . wait ( 17 )
82+ . get ( 'b' ) . then ( ( b ) => {
83+ if ( b [ 0 ] ) {
84+ EventListener . off ( b [ 0 ] , 'click' , clickListener ) ;
85+ }
86+ } )
8187 . get ( '@body' ) . then ( ( body ) => {
8288 if ( body [ 0 ] ) {
8389 expect ( EventListener . registry . click ) . to . be . instanceOf ( Map ) ;
8490 EventListener . off ( body [ 0 ] , 'click' , clickListener ) ;
8591 }
8692 } )
87- . get ( 'b' ) . then ( ( b ) => {
88- if ( b [ 0 ] ) {
89- EventListener . off ( b [ 0 ] , 'click' , clickListener ) ;
90- }
91- } )
9293 . get ( '@win' ) . then ( ( win ) => {
9394 if ( win ) {
9495 expect ( EventListener . registry . scroll ) . to . be . instanceOf ( Map ) ;
You can’t perform that action at this time.
0 commit comments