File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -230,5 +230,31 @@ cd test-app-fork
230230# Check corresponding scripts version is installed.
231231test -e node_modules/react-scripts-fork
232232
233+ # ******************************************************************************
234+ # Test nested folder path as the project name
235+ # ******************************************************************************
236+
237+ # Testing a path that exists
238+ cd $temp_app_path
239+ mkdir test-app-nested-paths-t1
240+ cd test-app-nested-paths-t1
241+ mkdir -p test-app-nested-paths-t1/aa/bb/cc/dd
242+ create_react_app test-app-nested-paths-t1/aa/bb/cc/dd
243+ cd test-app-nested-paths-t1/aa/bb/cc/dd
244+ npm start -- --smoke-test
245+
246+ # Testing a path that does not exist
247+ cd $temp_app_path
248+ create_react_app test-app-nested-paths-t2/aa/bb/cc/dd
249+ cd test-app-nested-paths-t2/aa/bb/cc/dd
250+ npm start -- --smoke-test
251+
252+ # Testing a path that is half exists
253+ cd $temp_app_path
254+ mkdir -p test-app-nested-paths-t3/aa
255+ create_react_app test-app-nested-paths-t3/aa/bb/cc/dd
256+ cd test-app-nested-paths-t3/aa/bb/cc/dd
257+ npm start -- --smoke-test
258+
233259# Cleanup
234260cleanup
You can’t perform that action at this time.
0 commit comments