mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-30 00:46:29 +01:00
fix annoying SSR test failures with solo tests
This commit is contained in:
parent
f9432d1a69
commit
61cbd4fa97
@ -107,7 +107,10 @@ describe( 'ssr', () => {
|
||||
}
|
||||
}
|
||||
|
||||
const component = require( `../runtime/samples/${dir}/main.html` );
|
||||
const resolved = require.resolve( `../runtime/samples/${dir}/main.html` );
|
||||
delete require.cache[ resolved ];
|
||||
|
||||
const component = require( resolved );
|
||||
let html;
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user