Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 11, 2022
1 parent d287482 commit b99cdc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playground/test-utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// test utils used in e2e tests for playgrounds.
// `import { getColor } from '~utils'`

// TODO: explicitly import APIs and remove this
/// <reference types="vitest/globals"/>

import fs from 'fs'
import path from 'path'
import colors from 'css-color-names'
Expand All @@ -11,9 +14,6 @@ import { fromComment } from 'convert-source-map'
import { expect } from 'vitest'
import { page } from '../scripts/vitestSetup'

// TODO: explicitly import APIs and remove this
import 'vitest/globals'

export * from '../scripts/vitestSetup'

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

0 comments on commit b99cdc8

Please sign in to comment.