Skip to content

Commit 5f2f4b8

Browse files
committed
chore: fix test
1 parent fd59f04 commit 5f2f4b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

playground/test-utils.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// test utils used in e2e tests for playgrounds.
22
// `import { getColor } from '~utils'`
33

4+
// TODO: explicitly import APIs and remove this
5+
/// <reference types="vitest/globals"/>
6+
47
import fs from 'fs'
58
import path from 'path'
69
import colors from 'css-color-names'
@@ -11,9 +14,6 @@ import { fromComment } from 'convert-source-map'
1114
import { expect } from 'vitest'
1215
import { page } from '../scripts/vitestSetup'
1316

14-
// TODO: explicitly import APIs and remove this
15-
import 'vitest/globals'
16-
1717
export * from '../scripts/vitestSetup'
1818

1919
export const workspaceRoot = path.resolve(__dirname, '../')

0 commit comments

Comments
 (0)