Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using npm link in tests #3345

Merged
merged 28 commits into from
Oct 30, 2017
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix path
Timer committed Oct 29, 2017

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 85a1992497699071061123a343b435be27b9b4ff
5 changes: 1 addition & 4 deletions tasks/e2e-kitchensink.sh
Original file line number Diff line number Diff line change
@@ -47,17 +47,14 @@ function create_react_app {
function install_package {
rsync -a ${1%/} node_modules/ --exclude node_modules

$restore_location = $(pwd)

cd node_modules/$(basename $1)/
if [ "$USE_YARN" = "yes" ]
then
yarn install --production
else
npm install --only=production
fi

cd $restore_location
cd ../..
}

# Check for the existence of one or more files.
5 changes: 1 addition & 4 deletions tasks/e2e-simple.sh
Original file line number Diff line number Diff line change
@@ -46,17 +46,14 @@ function create_react_app {
function install_package {
rsync -a ${1%/} node_modules/ --exclude node_modules

$restore_location = $(pwd)

cd node_modules/$(basename $1)/
if [ "$USE_YARN" = "yes" ]
then
yarn install --production
else
npm install --only=production
fi

cd $restore_location
cd ../..
}

# Check for the existence of one or more files.