Merge pull request #52 from amorimr/fix-vitest-run
fix: update vite config on templates using vitest
This commit is contained in:
@@ -12,7 +12,7 @@ export default defineConfig({
|
|||||||
// solid needs to be inline to work around
|
// solid needs to be inline to work around
|
||||||
// a resolution issue in vitest:
|
// a resolution issue in vitest:
|
||||||
deps: {
|
deps: {
|
||||||
inline: [/solid-js/],
|
inline: [/solid-js/, /solid-testing-library/],
|
||||||
},
|
},
|
||||||
// if you have few tests, try commenting one
|
// if you have few tests, try commenting one
|
||||||
// or both out to improve performance:
|
// or both out to improve performance:
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export default defineConfig({
|
|||||||
// solid needs to be inline to work around
|
// solid needs to be inline to work around
|
||||||
// a resolution issue in vitest:
|
// a resolution issue in vitest:
|
||||||
deps: {
|
deps: {
|
||||||
inline: [/solid-js/],
|
inline: [/solid-js/, 'solid-testing-library'],
|
||||||
},
|
},
|
||||||
// if you have few tests, try commenting one
|
// if you have few tests, try commenting one
|
||||||
// or both out to improve performance:
|
// or both out to improve performance:
|
||||||
|
|||||||
Reference in New Issue
Block a user