diff options
Diffstat (limited to 'test/snowpack-integration.test.js')
-rw-r--r-- | test/snowpack-integration.test.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/snowpack-integration.test.js b/test/snowpack-integration.test.js index 8547ee7cd..033f5587d 100644 --- a/test/snowpack-integration.test.js +++ b/test/snowpack-integration.test.js @@ -10,7 +10,7 @@ const { readdir, stat } = fsPromises; const SnowpackDev = suite('snowpack.dev'); -let runtime, cwd; +let runtime, cwd, setupError; SnowpackDev.before(async () => { // Bug: Snowpack config is still loaded relative to the current working directory. @@ -28,7 +28,7 @@ SnowpackDev.before(async () => { runtime = await createRuntime(astroConfig, logging); } catch(err) { console.error(err); - throw err; + setupError = err; } }); @@ -58,6 +58,10 @@ async function* allPages(root) { } } +SnowpackDev('No error creating the runtime', () => { + assert.equal(setupError, undefined); +}); + SnowpackDev('Can load every page', async () => { const failed = []; |