diff options
| author | Filip Wandzio <contact@philw.dev> | 2025-11-02 01:44:05 +0100 |
|---|---|---|
| committer | Filip Wandzio <contact@philw.dev> | 2025-11-02 01:44:05 +0100 |
| commit | ba940047eb099fc18315d4cafd55300995a76894 (patch) | |
| tree | db4ae932ba798f0f15d3648d9950c05c6eae5b7e /vitest.config.ts | |
| parent | d1fec5cf2df51c5260bbe877672a55d86de68b0d (diff) | |
| download | philw.dev-ba940047eb099fc18315d4cafd55300995a76894.tar.gz philw.dev-ba940047eb099fc18315d4cafd55300995a76894.zip | |
Implement unit testing with vitest
Signed-off-by: Filip Wandzio <contact@philw.dev>
Diffstat (limited to 'vitest.config.ts')
| -rw-r--r-- | vitest.config.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/vitest.config.ts b/vitest.config.ts deleted file mode 100644 index f69f040..0000000 --- a/vitest.config.ts +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | // vitest.config.ts | ||
| 2 | import { defineConfig } from 'vitest/config' | ||
| 3 | import { svelte } from '@sveltejs/vite-plugin-svelte' | ||
| 4 | |||
| 5 | export default defineConfig({ | ||
| 6 | plugins: [svelte()], | ||
| 7 | test: { | ||
| 8 | globals: true, | ||
| 9 | environment: 'jsdom', | ||
| 10 | setupFiles: './tests/setup.ts', | ||
| 11 | }, | ||
| 12 | }) | ||
