Skip to content

Commit

Permalink
Use root node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-dv committed Nov 8, 2018
1 parent 2db3942 commit f094002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cra-kitchen-sink/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ const config = require('../../jest.config');
module.exports = {
...config,
roots: [__dirname],
moduleDirectories: ['node_modules', 'src'],
moduleDirectories: ['<rootDir>/node_modules', 'src'],
};

0 comments on commit f094002

Please sign in to comment.