Skip to content

Commit 7920c8c

Browse files
authored
test: remove unnecessary done callbacks in synchronous tests (#40)
1 parent ed0e8e5 commit 7920c8c

File tree

3 files changed

+225
-149
lines changed

3 files changed

+225
-149
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
46

57
env:
68
CI: true

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
],
1010
"scripts": {
1111
"format": "npm run prettier:fix && npm run lint:fix",
12-
"lint": "npx eslint@^9 *.js test",
13-
"lint:fix": "npx eslint@^9 *.js test --fix",
12+
"lint": "npx eslint *.js test",
13+
"lint:fix": "npx eslint *.js test --fix",
1414
"prettier": "npx prettier . --check",
1515
"prettier:fix": "npx prettier . --write --log-level=warn",
16-
"test": "npx mocha@^11",
16+
"test": "npx mocha",
1717
"versions": "npx dependency-version-checker check",
1818
"versions:fix": "npx dependency-version-checker update && npx prettier package.json --write --log-level=warn"
1919
},

0 commit comments

Comments
 (0)