tests now run with module flag set to commonjs

This commit is contained in:
Andrew Gaspar
2013-08-15 19:48:49 -05:00
parent e4c97e410c
commit d23d64c2a0

View File

@@ -537,7 +537,7 @@ var DefinitelyTyped;
function Tsc() {
}
Tsc.run = function (tsfile, callback) {
Exec.exec('node ./_infrastructure/tests/typescript/tsc.js ', [tsfile], function (ExecResult) {
Exec.exec('node ./_infrastructure/tests/typescript/tsc.js --module commonjs ', [tsfile], function (ExecResult) {
callback(ExecResult);
});
};