Skip to content

Commit 6c8b3a9

Browse files
committed
Stabilize storybook tests
1 parent 5d46e2c commit 6c8b3a9

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/fw-lite.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
run: pnpm exec playwright install --with-deps
148148
- name: vitest
149149
working-directory: frontend/viewer
150-
run: pnpm run test --reporter=default --reporter=junit --outputFile.junit=test-results/vitest-results.xml
150+
run: pnpm run test --retry=2 --reporter=default --reporter=junit --outputFile.junit=test-results/vitest-results.xml
151151
- name: Publish unit test results
152152
uses: EnricoMi/publish-unit-test-result-action@8885e273a4343cd7b48eaa72428dea0c3067ea98 # v2.14.0
153153
if: always()

frontend/viewer/.storybook/preview.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import '../src/app.postcss';
2-
31
import FWLiteDecorator, {initSvelteStoryContext} from './decorators/FWLiteDecorator.svelte';
42

53
import type {Preview} from '@storybook/svelte-vite';

frontend/viewer/.storybook/vitest.setup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import '../src/app.postcss';
12
import * as previewAnnotations from './preview';
23

34
import {afterAll, afterEach, beforeAll} from 'vitest';

0 commit comments

Comments
 (0)