mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
10 lines
217 B
TypeScript
10 lines
217 B
TypeScript
import { expect, it } from 'vitest'
|
|
|
|
// this should keep working after reloads
|
|
it('isolate', () => {
|
|
const g = globalThis as any
|
|
expect(g.fooooo).toBe(undefined)
|
|
g.fooooo = true
|
|
expect(g.fooooo).toBe(true)
|
|
})
|