diff --git a/test/snowpack-integration.test.js b/test/snowpack-integration.test.js index e420b043a9..c851e8bdbb 100644 --- a/test/snowpack-integration.test.js +++ b/test/snowpack-integration.test.js @@ -30,7 +30,7 @@ SnowpackDev.before(async () => { }); SnowpackDev.after(async () => { - await runtime.shutdown(); + await runtime && runtime.shutdown(); }); async function* allPageFiles(root) {