diff --git a/tasks/e2e-kitchensink.sh b/tasks/e2e-kitchensink.sh index 834cde5f2af..dbf75b4166a 100755 --- a/tasks/e2e-kitchensink.sh +++ b/tasks/e2e-kitchensink.sh @@ -167,7 +167,7 @@ cd "$temp_app_path/test-kitchensink" cp -r "$root_path"/packages/babel-preset-react-app node_modules # Link to test module -cp -r "$temp_module_path/node_modules/test-integrity" node_modules +npm link "$temp_module_path/node_modules/test-integrity" # Test the build REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \ @@ -231,7 +231,7 @@ cp -r "$root_path"/packages/react-dev-utils node_modules cp -r "$root_path"/packages/react-scripts node_modules # Link to test module -cp -r "$temp_module_path/node_modules/test-integrity" node_modules +npm link "$temp_module_path/node_modules/test-integrity" # Test the build REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \