Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix testMatch option #65

Merged
merged 2 commits into from
Feb 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ storybook-static
coverage
mutation
node_modules
storybook-static
build-storybook.log
# stryker temp files
.stryker-tmp
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## [Full video course](https://www.udemy.com/course/hands-on-reactjs)

## Patches and fixes

#### Jest "No tests found, exiting with code 1" error on Windows
[Problem description](https://stackoverflow.com/questions/56348126/jest-no-tests-found-exiting-with-code-1-error-on-windows-10-in-react-redux-ap)
[Fix testMatch option](https://github.com/nickovchinnikov/minesweeper/pull/65/files)

## Section: Introduction

### Minesweeper presentation
Expand Down
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ module.exports = {
},
},

testMatch: ['<rootDir>/src/**/?(*.)+(spec|test).[jt]s?(x)'],

// The directory where Jest should output its coverage files
coverageDirectory: 'coverage',

Expand Down