Skip to content

Commit

Permalink
Initialize Jest. Update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
kukabi committed Sep 6, 2023
1 parent 81c0cbd commit 1bd5a35
Show file tree
Hide file tree
Showing 7 changed files with 9,835 additions and 3,935 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"env": {
"browser": true,
"node": true,
"es2021": true
},
"extends": [
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/prettier_eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ jobs:
- name: Prepare
run: npm ci
- name: Lint
uses: wearerequired/lint-action@v1
with:
eslint: true
prettier: true
eslint_extensions: js,ts
run: npm run lint
- name: Test
run: npm run test
#- name: Lint
# uses: wearerequired/lint-action@v1
# with:
# eslint: true
# prettier: true
# eslint_extensions: js,ts
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
Loading

0 comments on commit 1bd5a35

Please sign in to comment.