solidjs / vite-plugin-solid

A simple integration to run solid-js with vite
440 stars 51 forks source link

fix: regression from 2.8.1 #133

Closed Omikorin closed 10 months ago

Omikorin commented 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'],
}