Open justinmwarner opened 1 week ago
I have same issue, csf needs to be upgraded. Adding this to my package.json
for my yarn
setup is a temporary workaround:
"resolutions": {
"@storybook/test-runner@0.19.0/@storybook/csf@npm:^0.1.2": "npm:0.1.9"
}
Describe the bug
This commit: https://github.com/storybookjs/test-runner/commit/19393238b7432f59d3304aaa9c36fc5473d915f7
Introduced
combineTags
, which isn't available in version0.1.2
of @storybook/csf. I think we'll need to upgrade to0.1.9
- https://github.com/ComponentDriven/csf/commit/632d12b306020856d116983349532b27cbd90859To Reproduce
I reproduced this by having version 8.1.10 of the storybook suite with test-runner. You'll see the call stack complains on this line of test-runner: acc[key].tags = (0, import_csf.combineTags)("test", "dev", ...previewAnnotations.tags, ...csf.meta?.tags || [], ...csf._stories[key].tags || []);
Saying that
import_csf.combineTags
is undefined.System
Additional context
Adding this fixes it, but isn't ideal:
Thanks so much for the work here, it's been invaluable in our org.