We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd59f04 commit 5f2f4b8Copy full SHA for 5f2f4b8
playground/test-utils.ts
@@ -1,6 +1,9 @@
1
// test utils used in e2e tests for playgrounds.
2
// `import { getColor } from '~utils'`
3
4
+// TODO: explicitly import APIs and remove this
5
+/// <reference types="vitest/globals"/>
6
+
7
import fs from 'fs'
8
import path from 'path'
9
import colors from 'css-color-names'
@@ -11,9 +14,6 @@ import { fromComment } from 'convert-source-map'
11
14
import { expect } from 'vitest'
12
15
import { page } from '../scripts/vitestSetup'
13
16
-// TODO: explicitly import APIs and remove this
-import 'vitest/globals'
-
17
export * from '../scripts/vitestSetup'
18
19
export const workspaceRoot = path.resolve(__dirname, '../')
0 commit comments