Skip to content

Commit fc0312c

Browse files
committed
Next try at fixing Travis tests
We don't need the tests that check if --scripts-version work, we wouldn't use that as a company anyway.
1 parent c7e1804 commit fc0312c

File tree

2 files changed

+1
-25
lines changed

2 files changed

+1
-25
lines changed

tasks/e2e-installs.sh

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -84,30 +84,6 @@ cli_path=$PWD/`npm pack`
8484
cd $temp_cli_path
8585
npm install $cli_path
8686

87-
# ******************************************************************************
88-
# Test --scripts-version with a version number
89-
# ******************************************************************************
90-
91-
cd $temp_app_path
92-
create_react_app --scripts-version=0.4.0 test-app-version-number
93-
cd test-app-version-number
94-
95-
# Check corresponding scripts version is installed.
96-
exists node_modules/react-cy-scripts
97-
grep '"version": "0.4.0"' node_modules/react-cy-scripts/package.json
98-
99-
# ******************************************************************************
100-
# Test --scripts-version with a tarball url
101-
# ******************************************************************************
102-
103-
cd $temp_app_path
104-
create_react_app --scripts-version=https://registry.npmjs.org/react-cy-scripts/-/react-cy-scripts-0.4.0.tgz test-app-tarball-url
105-
cd test-app-tarball-url
106-
107-
# Check corresponding scripts version is installed.
108-
exists node_modules/react-cy-scripts
109-
grep '"version": "0.4.0"' node_modules/react-cy-scripts/package.json
110-
11187
# ******************************************************************************
11288
# Test --scripts-version with a custom fork of react-cy-scripts
11389
# ******************************************************************************

tasks/e2e-kitchensink.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fi
7777
# ******************************************************************************
7878

7979
# Pack CLI
80-
cd $root_path/packages/create-react-app
80+
cd $root_path/packages/create-react-cy-app
8181
cli_path=$PWD/`npm pack`
8282

8383
# Go to react-cy-scripts

0 commit comments

Comments
 (0)