File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
packages/browser/src/node Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -388,24 +388,10 @@ export default (browserServer: BrowserServer, base = '/'): Plugin[] => {
388
388
}
389
389
} ,
390
390
} ,
391
- // TODO: remove this when @testing -library/vue supports ESM
392
391
{
393
392
name : 'vitest:browser:support-testing-library' ,
394
393
config ( ) {
395
394
return {
396
- define : {
397
- // testing-library/preact
398
- 'process.env.PTL_SKIP_AUTO_CLEANUP' : ! ! process . env . PTL_SKIP_AUTO_CLEANUP ,
399
- // testing-library/react
400
- 'process.env.RTL_SKIP_AUTO_CLEANUP' : ! ! process . env . RTL_SKIP_AUTO_CLEANUP ,
401
- 'process.env?.RTL_SKIP_AUTO_CLEANUP' : ! ! process . env . RTL_SKIP_AUTO_CLEANUP ,
402
- // testing-library/svelte, testing-library/solid
403
- 'process.env.STL_SKIP_AUTO_CLEANUP' : ! ! process . env . STL_SKIP_AUTO_CLEANUP ,
404
- // testing-library/vue
405
- 'process.env.VTL_SKIP_AUTO_CLEANUP' : ! ! process . env . VTL_SKIP_AUTO_CLEANUP ,
406
- // dom.debug()
407
- 'process.env.DEBUG_PRINT_LIMIT' : process . env . DEBUG_PRINT_LIMIT || 7000 ,
408
- } ,
409
395
optimizeDeps : {
410
396
esbuildOptions : {
411
397
plugins : [
You can’t perform that action at this time.
0 commit comments