mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
8 lines
255 B
TypeScript
8 lines
255 B
TypeScript
import { expect, test } from 'vitest'
|
|
|
|
test('custom env is defined', () => {
|
|
expect(expect.getState().environment).toBe('custom')
|
|
expect((globalThis as any).testEnvironment).toBe('custom')
|
|
expect((globalThis as any).option).toBe('custom-option')
|
|
})
|