Skip to content

Commit

Permalink
Merge pull request #271 from Outblock:269-feature-add-unit-testing-fr…
Browse files Browse the repository at this point in the history
…amework

269-feature-add-unit-testing-framework
  • Loading branch information
tombeckenham authored Dec 9, 2024
2 parents f3303e2 + 7c62816 commit a4c4f6b
Show file tree
Hide file tree
Showing 9 changed files with 983 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test

- name: Create .env.pro file
run: |
cat << EOF > .env.pro
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
},
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"eslint.useFlatConfig": true
"eslint.useFlatConfig": true,
"githubPullRequests.overrideDefaultBranch": "dev"
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"format:fix": "prettier --write .",
"format": "prettier .",
"icon": "npx iconfont-h5",
"test": "jest",
"test": "vitest",
"pub": "node build/release.js",
"prepare": "husky",
"preinstall": "npx only-allow pnpm",
Expand Down Expand Up @@ -201,6 +201,7 @@
"typescript-eslint": "^8.15.0",
"typescript-transform-paths": "^3.5.2",
"url-loader": "^4.1.1",
"vitest": "^2.1.8",
"webpack": "^5.96.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^4.10.0",
Expand Down
Loading

0 comments on commit a4c4f6b

Please sign in to comment.