Add a source map test for JSX preserve

This commit is contained in:
Ryan Cavanaugh
2015-07-29 14:49:57 -07:00
parent da35fef88e
commit d4bb3539e0
7 changed files with 837 additions and 24 deletions

View File

@@ -1451,7 +1451,7 @@ module Harness {
}
export function isJSMap(fileName: string) {
return stringEndsWith(fileName, '.js.map');
return stringEndsWith(fileName, '.js.map') || stringEndsWith(fileName, '.jsx.map');
}
/** Contains the code and errors of a compilation and some helper methods to check its status. */