2023-04-09 15:12:26 +02:00

10 lines
230 B
TypeScript

import { expect, it } from 'vitest'
declare global {
const testValue: string
}
it('the same file works with different projects', () => {
expect(testValue).toBe(expect.getState().environment === 'node' ? 'node' : 'jsdom')
})