Skip to content

Commit 1243e11

Browse files
author
Kanchalai Tanglertsampan
committed
Update unittests
1 parent b250acd commit 1243e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/harness/unittests/compileOnSave.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ namespace ts.projectSystem {
520520

521521
const expectedEmittedFileName = "/a/b/f1.js";
522522
assert.isTrue(host.fileExists(expectedEmittedFileName));
523-
assert.equal(host.readFile(expectedEmittedFileName), `"use strict";\r\nfunction Foo() { return 10; }\r\nexports.Foo = Foo;\r\nexports.__esModule = true;\r\n`);
523+
assert.equal(host.readFile(expectedEmittedFileName), `"use strict";\r\nexports.__esModule = true;\r\nfunction Foo() { return 10; }\r\nexports.Foo = Foo;\r\n`);
524524
});
525525

526526
it("shoud not emit js files in external projects", () => {

0 commit comments

Comments
 (0)