diff options
Diffstat (limited to '')
-rw-r--r-- | test/bun.js/transpiler.test.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/bun.js/transpiler.test.js b/test/bun.js/transpiler.test.js index 855046911..d4d6c0ca8 100644 --- a/test/bun.js/transpiler.test.js +++ b/test/bun.js/transpiler.test.js @@ -94,6 +94,10 @@ describe("Bun.Transpiler", () => { "export const Foo = Baz.Bar" ); }); + + it("export = {foo: 123}", () => { + ts.expectPrinted_("export = {foo: 123}", "module.exports = { foo: 123 }"); + }); }); describe("generated closures", () => { |