diff --git a/test/runtime/index.js b/test/runtime/index.js index 28ef9e4d78..7b8986576a 100644 --- a/test/runtime/index.js +++ b/test/runtime/index.js @@ -197,6 +197,11 @@ describe.only("runtime", () => { throw err; } }) + .catch(err => { + // print a clickable link to open the directory + err.stack += `\n\ncmd-click: ${path.relative(process.cwd(), cwd)}/main.svelte`; + throw err; + }) .then(() => { if (config.show) { showOutput(cwd, compileOptions, compile);