From faa6294cab4f078f962ab855f7239402cb1786a4 Mon Sep 17 00:00:00 2001 From: "matteo.pietro.dazzi" Date: Fri, 21 Jun 2024 06:32:56 +0000 Subject: [PATCH] fix: vitest config --- vitest-browser.config.ts | 3 ++- vitest-edge.config.ts | 3 ++- vitest-node.config.ts | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/vitest-browser.config.ts b/vitest-browser.config.ts index ab5ec2a..5e9e813 100644 --- a/vitest-browser.config.ts +++ b/vitest-browser.config.ts @@ -2,6 +2,7 @@ import { defineConfig } from 'vitest/config' export default defineConfig({ test: { - environment: 'edge-runtime' + environment: 'edge-runtime', + include: ['test/**/*.test.ts'] }, }) \ No newline at end of file diff --git a/vitest-edge.config.ts b/vitest-edge.config.ts index ab5ec2a..5e9e813 100644 --- a/vitest-edge.config.ts +++ b/vitest-edge.config.ts @@ -2,6 +2,7 @@ import { defineConfig } from 'vitest/config' export default defineConfig({ test: { - environment: 'edge-runtime' + environment: 'edge-runtime', + include: ['test/**/*.test.ts'] }, }) \ No newline at end of file diff --git a/vitest-node.config.ts b/vitest-node.config.ts index 6fdf934..720a1c4 100644 --- a/vitest-node.config.ts +++ b/vitest-node.config.ts @@ -3,5 +3,6 @@ import { defineConfig } from 'vitest/config' export default defineConfig({ test: { pool: 'forks', + include: ['test/**/*.test.ts'] }, }) \ No newline at end of file