vitest/test/cli/fixtures/custom-file-env/custom-file-env.test.ts
2024-04-26 15:43:27 +02:00

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')
})