Skip to content

Commit

Permalink
Add 'no-test-runner' tag to stories and update test runner to exclude…
Browse files Browse the repository at this point in the history
… them
  • Loading branch information
valentinpalkovic committed Dec 19, 2024
1 parent 45971d9 commit e67cc92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default {
rsc: true,
},
},
tags: ['no-test-runner'],
} as Meta<typeof NextHeader>;

type Story = StoryObj<typeof NextHeader>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default {
rsc: true,
},
},
tags: ['no-test-runner'],
} as Meta<typeof RSC>;

type Story = StoryObj<typeof RSC>;
Expand Down
1 change: 1 addition & 0 deletions scripts/tasks/test-runner-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const testRunnerBuild: Task & { port: number } = {
'--maxWorkers=2',
'--failOnConsole',
'--index-json',
'--excludeTags="no-test-runner"',
];

await exec(
Expand Down

0 comments on commit e67cc92

Please sign in to comment.