Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Aug 12, 2024
1 parent 76b9504 commit ccc0ae6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { testIfNodeMajorVersionIsLessThan18 } from "../../utils/testIf";

function checkBundle(bundlePath: string): void {
const output = execSync(`node ${bundlePath}`, { encoding: "utf-8" });
expect(output).toBe('i am a dangerous release value because I contain a "');
expect(output.trimEnd()).toBe('"i am a dangerous release value because I contain a \\""');
}

describe("Properly escapes release values before injecting", () => {
Expand Down

0 comments on commit ccc0ae6

Please sign in to comment.