From f094002c1463f7e0f605a21cf45215dc44eb5fd4 Mon Sep 17 00:00:00 2001 From: igor-dv Date: Thu, 8 Nov 2018 18:02:40 +0200 Subject: [PATCH] Use root node_modules --- examples/cra-kitchen-sink/jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cra-kitchen-sink/jest.config.js b/examples/cra-kitchen-sink/jest.config.js index 04f240e88559..50cc5a0e3654 100644 --- a/examples/cra-kitchen-sink/jest.config.js +++ b/examples/cra-kitchen-sink/jest.config.js @@ -3,5 +3,5 @@ const config = require('../../jest.config'); module.exports = { ...config, roots: [__dirname], - moduleDirectories: ['node_modules', 'src'], + moduleDirectories: ['/node_modules', 'src'], };