rename test
This commit is contained in:
parent
9222711ace
commit
3295cdaa19
11
tests/baselines/reference/emitBOM.js
Normal file
11
tests/baselines/reference/emitBOM.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
//// [emitBOM.ts]
|
||||
|
||||
// JS and d.ts output should have a BOM but not the sourcemap
|
||||
var x;
|
||||
|
||||
//// [emitBOM.js]
|
||||
var x;
|
||||
//# sourceMappingURL=emitBOM.js.map
|
||||
|
||||
//// [emitBOM.d.ts]
|
||||
declare var x: any;
|
2
tests/baselines/reference/emitBOM.js.map
Normal file
2
tests/baselines/reference/emitBOM.js.map
Normal file
|
@ -0,0 +1,2 @@
|
|||
//// [emitBOM.js.map]
|
||||
{"version":3,"file":"emitBOM.js","sourceRoot":"","sources":["emitBOM.ts"],"names":[],"mappings":"AAEA,IAAI,CAAC,CAAC"}
|
|
@ -1,19 +1,19 @@
|
|||
===================================================================
|
||||
JsFile: generateBOM.js
|
||||
mapUrl: generateBOM.js.map
|
||||
JsFile: emitBOM.js
|
||||
mapUrl: emitBOM.js.map
|
||||
sourceRoot:
|
||||
sources: generateBOM.ts
|
||||
sources: emitBOM.ts
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/generateBOM.js
|
||||
sourceFile:generateBOM.ts
|
||||
emittedFile:tests/cases/compiler/emitBOM.js
|
||||
sourceFile:emitBOM.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>var x;
|
||||
1 >
|
||||
2 >^^^^
|
||||
3 > ^
|
||||
4 > ^
|
||||
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
>// JS and d.ts output should have a BOM but not the sourcemap
|
||||
>
|
||||
|
@ -25,4 +25,4 @@ sourceFile:generateBOM.ts
|
|||
3 >Emitted(1, 6) Source(3, 6) + SourceIndex(0)
|
||||
4 >Emitted(1, 7) Source(3, 7) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=generateBOM.js.map
|
||||
>>>//# sourceMappingURL=emitBOM.js.map
|
|
@ -1,11 +0,0 @@
|
|||
//// [generateBOM.ts]
|
||||
|
||||
// JS and d.ts output should have a BOM but not the sourcemap
|
||||
var x;
|
||||
|
||||
//// [generateBOM.js]
|
||||
var x;
|
||||
//# sourceMappingURL=generateBOM.js.map
|
||||
|
||||
//// [generateBOM.d.ts]
|
||||
declare var x: any;
|
|
@ -1,2 +0,0 @@
|
|||
//// [generateBOM.js.map]
|
||||
{"version":3,"file":"generateBOM.js","sourceRoot":"","sources":["generateBOM.ts"],"names":[],"mappings":"AAEA,IAAI,CAAC,CAAC"}
|
Loading…
Reference in a new issue