aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/bun.js/transpiler.test.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/bun.js/transpiler.test.js b/test/bun.js/transpiler.test.js
index f8bbd9d44..d34b43330 100644
--- a/test/bun.js/transpiler.test.js
+++ b/test/bun.js/transpiler.test.js
@@ -65,6 +65,13 @@ describe("Bun.Transpiler", () => {
},
};
+ it("normalizes \\r\\n", () => {
+ ts.expectPrinted_(
+ "console.log(`\r\n\r\n\r\n`)",
+ "console.log(`\n\n\n`);\n"
+ );
+ });
+
describe("TypeScript", () => {
it("import Foo = Baz.Bar", () => {
ts.expectPrinted_(