Skip to content

Commit

Permalink
chore(repo): use Node.js test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
P0lip committed Apr 21, 2024
1 parent 3e2435e commit 0e0e44f
Show file tree
Hide file tree
Showing 17 changed files with 525 additions and 2,381 deletions.
4 changes: 0 additions & 4 deletions .mocharc

This file was deleted.

18 changes: 0 additions & 18 deletions .nycrc

This file was deleted.

12 changes: 0 additions & 12 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import babelParser from '@babel/eslint-parser';
import js from '@eslint/js';
import chaiExpect from 'eslint-plugin-chai-expect';
import chaiFriendly from 'eslint-plugin-chai-friendly';
import simpleImportSort from 'eslint-plugin-simple-import-sort';
import globals from 'globals';

export default [
{
Expand All @@ -30,18 +27,9 @@ export default [
},
{
files: ['src/**/__tests__/*.test.mjs'],
languageOptions: {
globals: globals.mocha,
},
plugins: {
'chai-expect': chaiExpect,
'chai-friendly': chaiFriendly,
},
rules: {
'no-unused-expressions': 0,
'sort-keys': 'off',
...chaiExpect.configs.recommended.rules,
'chai-friendly/no-unused-expressions': 2,
},
},
];
21 changes: 0 additions & 21 deletions karma.conf.cjs

This file was deleted.

Loading

0 comments on commit 0e0e44f

Please sign in to comment.