In Vitest 1.0 you can more easily share data between the main thread and your test files by using provide/inject API: https://vitest.dev/config/#globalsetup
In Vitest 1.0 you can more easily share data between the main thread and your test files by using provide/inject API: https://vitest.dev/config/#globalsetup