Skip to content

Commit

Permalink
Replaced jest with vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
ekenigs committed Jun 12, 2024
1 parent 27765b9 commit 291cd82
Show file tree
Hide file tree
Showing 45 changed files with 3,753 additions and 313 deletions.
2 changes: 0 additions & 2 deletions .env.example

This file was deleted.

12 changes: 0 additions & 12 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,6 @@
"project": "./tsconfig.json"
},
"ignorePatterns": ["**/build"],
"overrides": [
{
"files": ["**/*.test.ts"],
"plugins": ["jest"],
"extends": ["plugin:jest/all"],
"rules": {
"jest/prefer-expect-assertions": "off",
"jest/no-hooks": "off",
"import/no-extraneous-dependencies": "off"
}
}
],
"rules": {
"prettier/prettier": "error",
"sort-keys": ["error"],
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
- name: 🤘 checkout
uses: actions/checkout@v4

- name: Setup Node.js environment
- name: ⚙ Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'

- run: npm ci --ignore-scripts

- name: 🛠 Build
- name: 🛠 Build
run: npm run build

- name: 🧪 Run unit tests
run: npm run test:ci
run: npm run test
9 changes: 0 additions & 9 deletions jest.config.ts

This file was deleted.

5 changes: 0 additions & 5 deletions jestSetupFile.ts

This file was deleted.

6 changes: 0 additions & 6 deletions jestSetupFileAfterEnv.ts

This file was deleted.

Loading

0 comments on commit 291cd82

Please sign in to comment.