Skip to content

Commit

Permalink
test: prefer enablement of TurboSnap for local Chromatic usage (#2053)
Browse files Browse the repository at this point in the history
Adds the `--only-changed` flag to our CLI command for local Chromatic runs
  • Loading branch information
pfulton authored Jul 27, 2023
1 parent b0be52b commit 0aa6709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"new": "yarn workspace @spectrum-css/generator new story",
"start": "WATCH_MODE=true storybook dev --quiet --config-dir .",
"storybook": "storybook build --quiet --config-dir .",
"test": "chromatic --build-script-name build --junit-report",
"test": "chromatic --only-changed --build-script-name build --junit-report",
"test:scope": "yarn test --only-story-names"
},
"dependencies": {
Expand Down

0 comments on commit 0aa6709

Please sign in to comment.