Skip to content

Commit

Permalink
Merge branch 'sync-docs' of https://github.com/vitest-dev/docs-cn int…
Browse files Browse the repository at this point in the history
…o sync-7fe91919-1
  • Loading branch information
docschina-bot committed Nov 8, 2023
2 parents 2be8220 + 7fe9191 commit 80ce50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Vitest 提供 [`environment`](/config/#environment) 选项以在特定环境中
```ts
// @vitest-environment jsdom

import { test } from 'vitest'
import { expect, test } from 'vitest'

test('test', () => {
expect(typeof window).not.toBe('undefined')
Expand Down

0 comments on commit 80ce50f

Please # to comment.