Skip to content

Commit 63b4fc3

Browse files
committed
test: make vitest ignore e2e folder
1 parent a9cf6c4 commit 63b4fc3

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import { test } from '@playwright/test'
22

3-
test('downloads a file', async () => {
4-
// Check that the file is downloaded successfully and exists on the filesystem
5-
})
3+
test.describe('downloadURL', () => {
4+
test('downloads a file', async () => {
5+
// Check that the file is downloaded successfully and exists on the filesystem
6+
})
67

7-
test('trigers multiple downloads', async () => {
8-
// Test downloadURL for multiple consecutive downloads without issues
8+
test('trigers multiple downloads', async () => {
9+
// Test downloadURL for multiple consecutive downloads without issues
10+
})
911
})

vitest.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { configDefaults, defineConfig } from 'vitest/config'
2+
3+
export default defineConfig({
4+
test: {
5+
exclude: [
6+
...configDefaults.exclude,
7+
'**/test/e2e/**',
8+
],
9+
},
10+
})

0 commit comments

Comments
 (0)