Closed Omikorin closed 10 months ago
The error is caused by using a config like below:
test: { setupFiles: 'src/setup-test.ts', }
The current workaround is to use an array directly (but Vitest types tell everything is okay without string[])
test: { setupFiles: ['src/setup-test.ts'], }
The error is caused by using a config like below:
The current workaround is to use an array directly (but Vitest types tell everything is okay without string[])