We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 087f10f commit 9dfc82cCopy full SHA for 9dfc82c
.github/workflows/ci.yml
@@ -32,7 +32,7 @@ jobs:
32
run: npm run lint
33
34
- name: Run Jest tests
35
- run: npm run test tests/jest
+ run: npm run test
36
37
- name: Build app
38
env:
jest.config.js
@@ -7,6 +7,7 @@ const createJestConfig = nextJest({
7
8
// Add any custom config to be passed to Jest
9
const customJestConfig = {
10
+ roots: ['<rootDir>/tests/jest'],
11
// Add more setup options before each test is run
12
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
13
// if using TypeScript with a baseUrl set to the root directory then you need the below for alias' to work
jest.setup.d.ts
0 commit comments