Skip to content

Commit b77aca8

Browse files
committed
fix test when another non-critical warning is raised
1 parent a8fc6e8 commit b77aca8

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • packages/storybook-framework-web-components/tests/fixtures/all-in-one/.storybook

packages/storybook-framework-web-components/tests/fixtures/all-in-one/.storybook/main.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ const config = {
2626
// ignore circular dependency warnings in storybook internals
2727
if (log.code === 'CIRCULAR_DEPENDENCY') {
2828
const logIds = log.ids?.map(id => id?.replace(/\\/g, '/'));
29-
if (logIds?.some(id => id?.endsWith('node_modules/storybook/dist/csf/index.js'))) {
29+
if (
30+
logIds?.some(
31+
id =>
32+
id?.endsWith('node_modules/storybook/dist/csf/index.js') ||
33+
id?.endsWith('node_modules/msw/lib/core/experimental/frames/http-frame.mjs'),
34+
)
35+
) {
3036
defaultHandler('warn', log);
3137
return;
3238
}

0 commit comments

Comments
 (0)