Skip to content

Commit

Permalink
Merge pull request #7 from r34son/jest-fix
Browse files Browse the repository at this point in the history
fix: jest cannot find test
  • Loading branch information
r34son authored Oct 15, 2023
2 parents c6e0eef + a15fc7e commit 4267e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: pnpm run types:check

- name: Run the tests and generate coverage report
run: pnpm test:unit -- --coverage --coverageReporters=text --coverageReporters=cobertura
run: pnpm test:unit --coverage --coverageReporters=text --coverageReporters=cobertura

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down
2 changes: 1 addition & 1 deletion jest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const config = {

testEnvironment: 'jest-environment-jsdom',

testPathIgnorePatterns: ['__tests__'],
testPathIgnorePatterns: ['<rootDir>/__tests__'],
};

// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async
Expand Down

0 comments on commit 4267e6d

Please sign in to comment.