Skip to content

Commit

Permalink
test: replace jest with mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
gjf7 committed Oct 16, 2024
1 parent b156cbd commit 457321d
Show file tree
Hide file tree
Showing 21 changed files with 1,688 additions and 2,617 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ module.exports = {
env: {
node: true,
es2024: true,
mocha: true,
},
globals: {
expect: true,
},

overrides: [
Expand Down Expand Up @@ -70,6 +74,7 @@ module.exports = {

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

'@typescript-eslint/no-namespace': 'error',
// TODO: '@typescript-eslint/no-floating-promises': 'error', // Promises must catch errors or be awaited.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
which nvim
nvim --version
npm run test-build --stream
npm run test-coverage --stream
- uses: codecov/codecov-action@v4
if: matrix.node == '20'
Expand Down
Loading

0 comments on commit 457321d

Please sign in to comment.