Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix #7818
  • Loading branch information
robertvansteen committed Oct 13, 2019
commit c3b05328bc5d235626d75614e77f4f77495d7027
2 changes: 1 addition & 1 deletion packages/react-scripts/config/modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function getJestAliases(options = {}) {

if (path.relative(paths.appPath, baseUrlResolved) === '') {
return {
'src/(.*)$': '<rootDir>/src/$1',
'^src/(.*)$': '<rootDir>/src/$1',
};
}
}
Expand Down