Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ jobs:
${{ runner.os }}-node-

- name: Install Dependencies
# Disable cache for now to test the workflow.
# if: steps.npm-cache.outputs.cache-hit != 'true'
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci --include=dev

- name: Run unit tests
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@

# Code coverage stuff.
/coverage
/junit.xml
4 changes: 4 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ const config: Config = {
},

clearMocks: true,
reporters: [
"default",
[ "jest-junit", { classNameTemplate: "{filepath}" } ]
],
Comment thread
coderabbitai[bot] marked this conversation as resolved.
}

export default createJestConfig(config)
61 changes: 61 additions & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"lint": "eslint",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:coverage": "jest --coverage --reporters=default --reporters=jest-junit",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
"db:push": "drizzle-kit push",
"db:studio": "drizzle-kit studio",
"db:generate": "drizzle-kit generate"
Expand Down Expand Up @@ -73,6 +73,7 @@
"eslint-config-next": "^16.0.6",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jest-junit": "^16.0.0",
"tailwindcss": "^4",
"ts-node": "^10.9.2",
"tsx": "^4.21.0",
Expand Down