From 764fb636174dc9e8d168ef1ecc14e406ff6053fd Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sat, 9 Apr 2022 20:26:02 -0700 Subject: Update transpiler.test.js --- integration/bunjs-only-snippets/transpiler.test.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'integration/bunjs-only-snippets') diff --git a/integration/bunjs-only-snippets/transpiler.test.js b/integration/bunjs-only-snippets/transpiler.test.js index 1162c65a7..9d570ea50 100644 --- a/integration/bunjs-only-snippets/transpiler.test.js +++ b/integration/bunjs-only-snippets/transpiler.test.js @@ -1038,6 +1038,10 @@ class Foo { }); describe("simplification", () => { + it("unary operator", () => { + expectPrinted("a = !(b, c)", "a = (b , !c)"); + }); + it("constant folding", () => { expectPrinted("1 && 2", "2"); expectPrinted("1 || 2", "1"); -- cgit v1.2.3