From 8f6319426fa3dc3d0a930cfb2ca9f2bd510f96d5 Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Fri, 21 Apr 2023 18:10:29 +0300 Subject: [PATCH] test: debug --- test/build/config-format/typescript-esnext/typescript.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/build/config-format/typescript-esnext/typescript.test.js b/test/build/config-format/typescript-esnext/typescript.test.js index 675f44a4442..13a847fdac5 100644 --- a/test/build/config-format/typescript-esnext/typescript.test.js +++ b/test/build/config-format/typescript-esnext/typescript.test.js @@ -16,6 +16,9 @@ describe("webpack cli", () => { const { exitCode, stderr, stdout } = await run(__dirname, ["-c", "./webpack.config.ts"], { nodeOptions: ["--loader=ts-node/esm"], }); + console.log("Stderr: ", stderr); + console.log("Stdout: ", stdout); + console.log("Exit code: ", exitCode); expect(stderr).not.toBeFalsy(); // Deprecation warning logs on stderr expect(stdout).toBeTruthy(); expect(exitCode).toBe(0);