Skip to content

Commit

Permalink
test v1
Browse files Browse the repository at this point in the history
  • Loading branch information
codiku-dev committed Feb 13, 2024
1 parent f7b0210 commit b6e0f9a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
- name: Install Dependencies
run: npm install --force
- name: Run unit test
run: npm run test
run: npm run test:unit
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const createJestConfig = nextJest({

// Add any custom config to be passed to Jest
const customJestConfig = {
setupFilesAfterEnv: ["<rootDir>/jest.setup.ts"],
setupFilesAfterEnv: ["<rootDir>/jest.setup.js"],
testEnvironment: "jsdom",
transform: {
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"tests/integration/example.test.spectsx"
"tests/integration/example.test.spectsx",
"jest.setup.js"
],
"exclude": ["node_modules"]
}

0 comments on commit b6e0f9a

Please sign in to comment.