File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,20 @@ exists node_modules/react-scripts
145
145
grep ' "version": "0.4.0"' node_modules/react-scripts/package.json
146
146
checkDependencies
147
147
148
+ # ******************************************************************************
149
+ # Test --use-npm flag
150
+ # ******************************************************************************
151
+
152
+ cd " $temp_app_path "
153
+ create_react_app --use-npm --scripts-version=0.4.0 test-use-npm-flag
154
+ cd test-use-npm-flag
155
+
156
+ # Check corresponding scripts version is installed.
157
+ exists node_modules/react-scripts
158
+ [ ! -e " yarn.lock" ] && echo " yarn.lock correctly does not exist"
159
+ grep ' "version": "0.4.0"' node_modules/react-scripts/package.json
160
+ checkDependencies
161
+
148
162
# ******************************************************************************
149
163
# Test --scripts-version with a tarball url
150
164
# ******************************************************************************
You can’t perform that action at this time.
0 commit comments