Transpile unit test case

This commit is contained in:
Sheetal Nandi 2016-11-09 13:15:13 -08:00
parent 3d6950d023
commit 35e4c459f5
2 changed files with 7 additions and 0 deletions

View File

@ -385,6 +385,10 @@ var x = 0;`, {
options: { compilerOptions: { reactNamespace: "react" }, fileName: "input.js", reportDiagnostics: true }
});
transpilesCorrectly("Supports setting 'jsxFactory'", "x;", {
options: { compilerOptions: { jsxFactory: "createElement" }, fileName: "input.js", reportDiagnostics: true }
});
transpilesCorrectly("Supports setting 'removeComments'", "x;", {
options: { compilerOptions: { removeComments: true }, fileName: "input.js", reportDiagnostics: true }
});

View File

@ -0,0 +1,3 @@
"use strict";
x;
//# sourceMappingURL=input.js.map