Skip to content

Commit ac97e71

Browse files
committed
test: replace jest with mocha
1 parent b156cbd commit ac97e71

23 files changed

+1686
-2621
lines changed

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module.exports = {
1414
env: {
1515
node: true,
1616
es2024: true,
17+
mocha: true,
1718
},
1819

1920
overrides: [
@@ -70,6 +71,7 @@ module.exports = {
7071

7172
'import/extensions': 'off',
7273
'import/prefer-default-export': 'off',
74+
"import/no-extraneous-dependencies": ["error", {"devDependencies": true, "optionalDependencies": false, "peerDependencies": false}],
7375

7476
'@typescript-eslint/no-namespace': 'error',
7577
// TODO: '@typescript-eslint/no-floating-promises': 'error', // Promises must catch errors or be awaited.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
which nvim
9191
nvim --version
9292
93-
npm run test-build --stream
93+
npm run test-coverage --stream
9494
9595
- uses: codecov/codecov-action@v4
9696
if: matrix.node == '20'

0 commit comments

Comments
 (0)