Skip to content

Commit

Permalink
ci: add console-fail-test
Browse files Browse the repository at this point in the history
Signed-off-by: rare-magma <[email protected]>
  • Loading branch information
rare-magma committed Apr 25, 2024
1 parent 4b26122 commit 93189b8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@
"@vitest/coverage-v8": "1.0.2",
"@vitest/ui": "1.2.2",
"autoprefixer": "10.4.18",
"console-fail-test": "0.2.3",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-jest-dom": "5.1.0",
"eslint-plugin-jest-dom": "5.4.0",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-package-json": "0.12.2",
"eslint-plugin-prettier": "5.0.1",
Expand Down
22 changes: 15 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default defineConfig((env) => {
globals: true,
mockClear: true,
environment: "jsdom",
setupFiles: "./src/setupTests.ts",
setupFiles: ["./src/setupTests.ts", "console-fail-test/setup"],
include: [
"src/**/*.{test,spec}.?(c|m)[jt]s?(x)",
"src/*.{test,spec}.?(c|m)[jt]s?(x)",
Expand Down

0 comments on commit 93189b8

Please sign in to comment.