Files
llama.cpp/tools/ui/.storybook/vitest.setup.ts
T

13 lines
389 B
TypeScript
Raw Normal View History

import * as a11yAddonAnnotations from '@storybook/addon-a11y/preview';
2025-09-17 19:29:13 +02:00
import { setProjectAnnotations } from '@storybook/sveltekit';
import * as previewAnnotations from './preview';
import { beforeAll } from 'vitest';
const project = setProjectAnnotations([a11yAddonAnnotations, previewAnnotations]);
2025-09-17 19:29:13 +02:00
beforeAll(async () => {
if (project.beforeAll) {
await project.beforeAll();
}
});