Hoisting
Also written: hoisted
Vitest moving `vi.mock` calls to the top of the file, before the imports run, so that every import of the mocked module gets the mock.
Also written: hoisted
Vitest moving `vi.mock` calls to the top of the file, before the imports run, so that every import of the mocked module gets the mock.