mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 06:31:18 +08:00
ignore type issue
This commit is contained in:
parent
2aeb261558
commit
4315e6463e
@ -58,6 +58,7 @@ export const experimental_afterEach: AfterEach<any> = async ({
|
||||
if (getIsVitestStandaloneRun()) {
|
||||
if (hasViolations && getMode() === 'failed') {
|
||||
if (!vitestMatchersExtended) {
|
||||
// @ts-expect-error (unknown why vitest-axe is not typed correctly)
|
||||
const { toHaveNoViolations } = await import('vitest-axe/matchers');
|
||||
expect.extend({ toHaveNoViolations });
|
||||
vitestMatchersExtended = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user