diff options
author | 2022-09-16 00:53:03 -0700 | |
---|---|---|
committer | 2022-09-16 00:53:03 -0700 | |
commit | 0ce709d96abb48c747f5c93033c9a80fe79ee3bc (patch) | |
tree | f535a53c23fd95154b36ceab7c38c8e3a0275c89 /test/bun.js/transpiler.test.js | |
parent | fd808dec524c60ba18c620e27b205828760a6e41 (diff) | |
download | bun-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.js | 8 |
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({ |