Commit 89bf273e authored by Tharaka Wijebandara's avatar Tharaka Wijebandara
Browse files

Link local react-error-overlay package in kitchensink test

parent 206f9e84
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 6 additions and 0 deletions
+6 -0
......@@ -165,6 +165,9 @@ cd "$temp_app_path/test-kitchensink"
# Link to our preset
npm link "$root_path"/packages/babel-preset-react-app
# Link to error overlay package because now it's a dependency
# of react-dev-utils and not react-scripts
npm link "$root_path"/packages/react-error-overlay
# Link to test module
npm link "$temp_module_path/node_modules/test-integrity"
......@@ -220,6 +223,8 @@ E2E_FILE=./build/index.html \
# Unlink our preset
npm unlink "$root_path"/packages/babel-preset-react-app
# Unlink error overlay
npm unlink "$root_path"/packages/react-error-overlay
# Eject...
echo yes | npm run eject
......@@ -227,6 +232,7 @@ echo yes | npm run eject
# ...but still link to the local packages
npm link "$root_path"/packages/babel-preset-react-app
npm link "$root_path"/packages/eslint-config-react-app
npm link "$root_path"/packages/react-error-overlay
npm link "$root_path"/packages/react-dev-utils
npm link "$root_path"/packages/react-scripts
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment