aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/transpiler.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/bun.js/transpiler.test.js')
-rw-r--r--test/bun.js/transpiler.test.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bun.js/transpiler.test.js b/test/bun.js/transpiler.test.js
index 3bb458697..3d3bcc109 100644
--- a/test/bun.js/transpiler.test.js
+++ b/test/bun.js/transpiler.test.js
@@ -141,22 +141,22 @@ describe("Bun.Transpiler", () => {
x[x["y"] = 0] = "y";
})(x || (x = {}));
})(second = first.second || (first.second = {}));
-})(first || (first = {}))`
+})(first || (first = {}))`;
it("exported inner namespace", () => {
ts.expectPrinted_(input3, output3);
});
- const input4 = `export enum x { y }`
+ const input4 = `export enum x { y }`;
const output4 = `export var x;
(function(x) {
x[x["y"] = 0] = "y";
-})(x || (x = {}))`
+})(x || (x = {}))`;
it("exported enum", () => {
ts.expectPrinted_(input4, output4);
});
- })
+ });
describe("exports.replace", () => {
const transpiler = new Bun.Transpiler({