mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
exclude playwright tests from vitest
This commit is contained in:
parent
733e45f3a9
commit
e3125b8a98
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
import { defineConfig } from "vitest/config";
|
import { defineConfig, configDefaults } from "vitest/config";
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
resolve: {
|
resolve: {
|
||||||
|
@ -49,6 +49,7 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
test: {
|
test: {
|
||||||
|
exclude: [...configDefaults.exclude, "**/playwright/**"],
|
||||||
// Since hooks are running in stack in v2, which means all hooks run serially whereas
|
// Since hooks are running in stack in v2, which means all hooks run serially whereas
|
||||||
// we need to run them in parallel
|
// we need to run them in parallel
|
||||||
sequence: {
|
sequence: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue