mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
8 lines
205 B
TypeScript
8 lines
205 B
TypeScript
import { thisIsOk } from '../src/has space in path'
|
|
|
|
vi.mock('../src/has space in path', () => ({ thisIsOk: true }))
|
|
|
|
test('modules with spaces in name is mocked', () => {
|
|
expect(thisIsOk).toBe(true)
|
|
})
|