From 07a424abe0da92e3ac479a7d0e88ca3e728ff0d6 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Sat, 31 Aug 2024 21:47:22 +0800 Subject: [PATCH] chore: [1] Add vitest extensions (#1523) Co-authored-by: David Ortner --- .gitignore | 1 - .vscode/extensions.json | 3 +++ vitest.workspace.ts | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .vscode/extensions.json create mode 100644 vitest.workspace.ts diff --git a/.gitignore b/.gitignore index 0fd8f798c..851b96e4c 100755 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,5 @@ node_modules tmp lerna-debug.log .DS_Store -.vscode .idea .turbo \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..c0616bf2f --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["vitest.explorer"] +} \ No newline at end of file diff --git a/vitest.workspace.ts b/vitest.workspace.ts new file mode 100644 index 000000000..18fdbeb21 --- /dev/null +++ b/vitest.workspace.ts @@ -0,0 +1,3 @@ +import { defineWorkspace } from 'vitest/config'; + +export default defineWorkspace(['./packages/happy-dom/vitest.config.ts']);