Skip to content

Commit 13e80b9

Browse files
committed
Fix building webTestServer
1 parent 706acdf commit 13e80b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jakefile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ task("generate-code-coverage", ["tests", builtLocalDirectory], function () {
945945
// Browser tests
946946
var nodeServerOutFile = "tests/webTestServer.js";
947947
var nodeServerInFile = "tests/webTestServer.ts";
948-
compileFile(nodeServerOutFile, [nodeServerInFile], [builtLocalDirectory, tscFile], [], /*useBuiltCompiler:*/ true, { noOutFile: true });
948+
compileFile(nodeServerOutFile, [nodeServerInFile], [builtLocalDirectory, tscFile], [], /*useBuiltCompiler:*/ true, { noOutFile: true, lib: "es6" });
949949

950950
desc("Runs browserify on run.js to produce a file suitable for running tests in the browser");
951951
task("browserify", ["tests", builtLocalDirectory, nodeServerOutFile], function() {

0 commit comments

Comments
 (0)