From e3125b8a983d9890eb524500fafb14b42578e5d3 Mon Sep 17 00:00:00 2001 From: dwelle <5153846+dwelle@users.noreply.github.com> Date: Mon, 21 Apr 2025 11:50:33 +0200 Subject: [PATCH] exclude playwright tests from vitest --- vitest.config.mts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vitest.config.mts b/vitest.config.mts index 353f84ccfc..dd67c6e0ed 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -1,6 +1,6 @@ import path from "path"; -import { defineConfig } from "vitest/config"; +import { defineConfig, configDefaults } from "vitest/config"; export default defineConfig({ resolve: { @@ -49,6 +49,7 @@ export default defineConfig({ }, //@ts-ignore test: { + exclude: [...configDefaults.exclude, "**/playwright/**"], // Since hooks are running in stack in v2, which means all hooks run serially whereas // we need to run them in parallel sequence: {