Skip to content

Commit d935d2b

Browse files
committed
Edit storybook:test-ci flags
- Remove verbose logging now that the problem is clear - Exit 0 if the HTTP server stops - Specify a URL in test-storybook
1 parent fd53569 commit d935d2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"markdown-lint": "yarn build-remark && remark --rc-path .remarkrc.mjs 'content/**/docs/pages/**/*.mdx' --quiet --frail --ignore-pattern '**/includes/**' --silently-ignore",
2626
"storybook": "storybook dev -p 6006",
2727
"storybook:build": "storybook build",
28-
"storybook:test-ci": "npx concurrently --kill-others --names \"STORYBOOK,TESTS\" -c \"magenta,blue\" \"npx http-server storybook-static --port 6006\" \"npx wait-on --verbose tcp:127.0.0.1:6006 && yarn storybook:test\"",
28+
"storybook:test-ci": "npx concurrently --kill-others --success first --names \"STORYBOOK,TESTS\" -c \"magenta,blue\" \"npx http-server -a 127.0.0.1 --silent storybook-static --port 6006\" \"npx wait-on tcp:127.0.0.1:6006 && yarn storybook:test --url http://127.0.0.1:6006/storybook-static \"",
2929
"storybook:test": "test-storybook",
3030
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --trace-warnings --experimental-vm-modules\" jest --config ./jest.server.config.mjs server/*.test.ts"
3131
},

0 commit comments

Comments
 (0)