Skip to content

Commit b3b5f3f

Browse files
committed
test
1 parent ae660db commit b3b5f3f

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,3 @@ jobs:
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

cypress/integration/event-listener.spec.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)