aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/transpiler.test.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-09-16 00:53:03 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-09-16 00:53:03 -0700
commit0ce709d96abb48c747f5c93033c9a80fe79ee3bc (patch)
treef535a53c23fd95154b36ceab7c38c8e3a0275c89 /test/bun.js/transpiler.test.js
parentfd808dec524c60ba18c620e27b205828760a6e41 (diff)
downloadbun-0ce709d96abb48c747f5c93033c9a80fe79ee3bc.tar.gz
bun-0ce709d96abb48c747f5c93033c9a80fe79ee3bc.tar.zst
bun-0ce709d96abb48c747f5c93033c9a80fe79ee3bc.zip
Make new HTTP client more stable
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({