Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
echo-bravo-yahoo committed Nov 21, 2024
1 parent 119bf68 commit f2a81bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/general-cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ describe("cli operations", function () {
it("enables nodeJS warnings from the dev entrypoint", async function () {
let stderr = spawnSync("./src/user-entrypoint.mjs", ["warn"], {
encoding: "utf8",
stdio: "pipe",
}).stderr;

// the dev script should emit warnings
Expand All @@ -139,6 +140,7 @@ describe("cli operations", function () {
it("suppresses nodeJS warnings from the prod entrypoint", async function () {
let stderr = spawnSync("./dist/cli.cjs", ["warn"], {
encoding: "utf8",
stdio: "pipe",
}).stderr;

// the prod one should not
Expand Down

0 comments on commit f2a81bb

Please sign in to comment.