File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " vite-plugin-solid " : patch
3
+ ---
4
+
5
+ import solid as external to fix testing with npm
Original file line number Diff line number Diff line change @@ -219,8 +219,8 @@ export default function solidPlugin(options: Partial<Options> = {}): Plugin {
219
219
220
220
test . server = test . server || { } ;
221
221
test . server . deps = test . server . deps || { } ;
222
- if ( ! test . server . deps . inline ?. find ( ( item : string | RegExp ) => / s o l i d - j s / . test ( item . toString ( ) ) ) ) {
223
- test . server . deps . inline = [ ...( test . server . deps . inline || [ ] ) , / s o l i d - j s / ] ;
222
+ if ( ! test . server . deps . external ?. find ( ( item : string | RegExp ) => / s o l i d - j s / . test ( item . toString ( ) ) ) ) {
223
+ test . server . deps . external = [ ...( test . server . deps . external || [ ] ) , / s o l i d - j s / ] ;
224
224
}
225
225
226
226
const jestDomImport = getJestDomExport ( userSetupFiles ) ;
You can’t perform that action at this time.
0 commit comments