mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
9 lines
177 B
TypeScript
9 lines
177 B
TypeScript
import { expect, test, vi } from './proxy-module'
|
|
|
|
// This can be used only when imported directly from vitest
|
|
vi.mock('vite')
|
|
|
|
test('hi', () => {
|
|
expect(1 + 1).toEqual(2)
|
|
})
|