Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
zxl629 committed Jan 16, 2025
1 parent 9b10d86 commit db5d36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit db5d36a

Please sign in to comment.