diff --git a/.gitignore b/.gitignore index fd18e84..0241892 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ storybook-static coverage mutation node_modules +storybook-static build-storybook.log # stryker temp files .stryker-tmp diff --git a/README.md b/README.md index 4eed6ce..9b82361 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/jest.config.js b/jest.config.js index 2d94936..003a7ce 100644 --- a/jest.config.js +++ b/jest.config.js @@ -18,6 +18,8 @@ module.exports = { }, }, + testMatch: ['/src/**/?(*.)+(spec|test).[jt]s?(x)'], + // The directory where Jest should output its coverage files coverageDirectory: 'coverage',