Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Commit 9af00a0

Browse files
committed
feat(tests): add retry option to class test
This commit adds a retry option to the 'load css module for class' test. This change aims to improve the reliability of the test by allowing it to retry up to 5 times in case of failure.
1 parent 32af9a7 commit 9af00a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/class/class.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function resolve(file: string) {
77
return path.resolve(__dirname, file);
88
}
99

10-
it('load css module for class', async () => {
10+
it('load css module for class', { retry: 5 }, async () => {
1111
const filename = resolve('Input.svelte');
1212

1313
const source = await fs.readFile(filename, 'utf-8');

0 commit comments

Comments
 (0)