diff --git a/scripts/test.mjs b/scripts/test.mjs index aa9bb5fe3..853cca058 100644 --- a/scripts/test.mjs +++ b/scripts/test.mjs @@ -121,7 +121,7 @@ const startSampleAndRun = async () => { // commands const runApp = build === BUILD_TYPE.dev ? runAppOnDev(params) : runAppOnProd(params); - const runTest = `wait-on -t ${defaultTimeout} ${waitOnOption} && curl -o /dev/null -s -w "%{http_code}" http://localhost:3000/main.bundle.js`; + const runTest = `wait-on -t ${defaultTimeout} ${waitOnOption} && curl -o /dev/null -s -w "%{http_code}" http://localhost:3000/main.bundle-t.js`; const { result } = concurrently([runApp, runTest], { killOthers: ['success', 'failure'],