diff options
Diffstat (limited to 'test/bundler/expectBundled.ts')
-rw-r--r-- | test/bundler/expectBundled.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/bundler/expectBundled.ts b/test/bundler/expectBundled.ts index 3ec68ac4e..a5cc344c3 100644 --- a/test/bundler/expectBundled.ts +++ b/test/bundler/expectBundled.ts @@ -1186,6 +1186,9 @@ for (const [key, blob] of build.outputs) { }, stdio: ["ignore", "pipe", "pipe"], }); + if (DEBUG) { + console.log({ stdout: stdout!.toString("utf-8"), stderr: stderr!.toString("utf-8") }); + } if (run.error) { if (success) { @@ -1287,6 +1290,7 @@ export function itBundled( ): BundlerTestRef { if (typeof opts === "function") { const fn = opts; + // console.log("outbase", outBase); opts = opts({ root: path.join(outBase, id.replaceAll("/", path.sep)), getConfigRef }); // @ts-expect-error opts._referenceFn = fn; |