diff --git a/js-vitest/vite.config.js b/js-vitest/vite.config.js index 6393a6c..04e09b6 100644 --- a/js-vitest/vite.config.js +++ b/js-vitest/vite.config.js @@ -12,7 +12,7 @@ export default defineConfig({ // solid needs to be inline to work around // a resolution issue in vitest: deps: { - inline: [/solid-js/], + inline: [/solid-js/, /solid-testing-library/], }, // if you have few tests, try commenting one // or both out to improve performance: diff --git a/ts-vitest/vite.config.ts b/ts-vitest/vite.config.ts index 04ce226..64d26a5 100644 --- a/ts-vitest/vite.config.ts +++ b/ts-vitest/vite.config.ts @@ -19,7 +19,7 @@ export default defineConfig({ // solid needs to be inline to work around // a resolution issue in vitest: deps: { - inline: [/solid-js/], + inline: [/solid-js/, 'solid-testing-library'], }, // if you have few tests, try commenting one // or both out to improve performance: