Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
Enable colocation of tests (#81)
Browse files Browse the repository at this point in the history
* Enable colocation of tests
  • Loading branch information
iamlacroix authored Apr 24, 2017
1 parent c14b339 commit b93a7d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trunkclub/build",
"version": "6.0.0",
"version": "6.1.0",
"upstream-version": "0.8.4",
"description": "Configuration and scripts for Create React App. Fork maintained by Trunk Club",
"repository": "trunkclub/create-react-app",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-scripts/utils/createJestConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = (resolve, rootDir, isEjecting) => {
// TODO: I don't know if it's safe or not to just use / as path separator
// in Jest configs. We need help from somebody with Windows to determine this.
const config = {
testPathDirs: [ 'spec' ],
testPathDirs: [ 'spec', 'src' ],
testRegex: '.*spec\\.(es6|js)$',
moduleDirectories: [ 'src', 'node_modules' ],
moduleFileExtensions: [ 'js', 'json', 'es6', 'jsx' ],
Expand Down

0 comments on commit b93a7d9

Please sign in to comment.