Update baselines (3)

This commit is contained in:
Kanchalai Tanglertsampan
2017-02-03 17:38:39 -08:00
parent c0ac84fdbd
commit 535a001cbb
453 changed files with 491 additions and 41 deletions

View File

@@ -520,7 +520,7 @@ namespace ts.projectSystem {
const expectedEmittedFileName = "/a/b/f1.js";
assert.isTrue(host.fileExists(expectedEmittedFileName));
assert.equal(host.readFile(expectedEmittedFileName), `"use strict";\r\nfunction Foo() { return 10; }\r\nexports.Foo = Foo;\r\n`);
assert.equal(host.readFile(expectedEmittedFileName), `"use strict";\r\nfunction Foo() { return 10; }\r\nexports.Foo = Foo;\r\nexports.__esModule = true;\r\n`);
});
it("shoud not emit js files in external projects", () => {