Skip to content

Commit 2f6f5fe

Browse files
committed
chore: add vitest globals
1 parent 4a1fea8 commit 2f6f5fe

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@
1212
"test/fixtures",
1313
"test/unit",
1414
"test/benchmark.skip.ts"
15-
]
15+
],
16+
"compilerOptions": {
17+
"types": ["vitest/globals"]
18+
}
1619
}

vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import { defineVitestConfig } from '@nuxt/test-utils/config'
22

33
export default defineVitestConfig({
44
test: {
5-
5+
globals: true,
66
},
77
})

0 commit comments

Comments
 (0)