Skip to content

Commit

Permalink
add unit testing with vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
punxaphil committed May 9, 2024
1 parent 1160ac8 commit 29799c0
Show file tree
Hide file tree
Showing 8 changed files with 6,286 additions and 10,472 deletions.
23 changes: 11 additions & 12 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
sourceType: "module" // Allows for the use of imports
},
extends: [
"plugin:@typescript-eslint/recommended"
],
rules: {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
}
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
},
extends: ['plugin:@typescript-eslint/recommended'],
rules: {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
'prefer-template': 1,
},
};
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ jobs:
- name: Build
run: |
npm install
npm run test:ci
npm run build
7 changes: 0 additions & 7 deletions jest.config.js

This file was deleted.

0 comments on commit 29799c0

Please sign in to comment.