Skip to content

Commit 13cf339

Browse files
author
Yui T
committed
Add getEmitOutput baselines
1 parent 2ad20d2 commit 13cf339

16 files changed

+230
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
EmitOutputStatus : Succeeded
2+
Filename : tests/cases/fourslash/inputFile1.js
3+
var x = 5;
4+
var Bar = (function () {
5+
function Bar() {
6+
}
7+
return Bar;
8+
})();
9+
Filename : tests/cases/fourslash/inputFile1.d.ts
10+
declare var x: number;
11+
declare class Bar {
12+
x: string;
13+
y: number;
14+
}
15+
16+
EmitOutputStatus : Succeeded
17+
Filename : tests/cases/fourslash/inputFile2.js
18+
var x1 = "hello world";
19+
var Foo = (function () {
20+
function Foo() {
21+
}
22+
return Foo;
23+
})();
24+
Filename : tests/cases/fourslash/inputFile2.d.ts
25+
declare var x1: string;
26+
declare class Foo {
27+
x: string;
28+
y: number;
29+
}
30+
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
EmitOutputStatus : Succeeded
2+
Filename : declSingleFile.js
3+
var x = 5;
4+
var Bar = (function () {
5+
function Bar() {
6+
}
7+
return Bar;
8+
})();
9+
var x1 = "hello world";
10+
var Foo = (function () {
11+
function Foo() {
12+
}
13+
return Foo;
14+
})();
15+
Filename : declSingleFile.d.ts
16+
declare var x: number;
17+
declare class Bar {
18+
x: string;
19+
y: number;
20+
}
21+
declare var x1: string;
22+
declare class Foo {
23+
x: string;
24+
y: number;
25+
}
26+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
EmitOutputStatus : Succeeded
2+
Filename : declSingleFile.js.map
3+
{"version":3,"file":"declSingleFile.js","sourceRoot":"","sources":["../tests/cases/fourslash/inputFile.ts"],"names":["M","M.constructor"],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB,IAAM,CAAC;IAAPA,SAAMA,CAACA;IAGPC,CAACA;IAADD,QAACA;AAADA,CAACA,AAHD,IAGC"}Filename : declSingleFile.js
4+
var x = 109;
5+
var foo = "hello world";
6+
var M = (function () {
7+
function M() {
8+
}
9+
return M;
10+
})();
11+
//# sourceMappingURL=mapRootDir/declSingleFile.js.map
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
EmitOutputStatus : Succeeded
2+
Filename : tests/cases/fourslash/inputFile.js
3+
var x;
4+
var M = (function () {
5+
function M() {
6+
}
7+
return M;
8+
})();
9+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
EmitOutputStatus : Succeeded
2+
Filename : tests/cases/fourslash/inputFile2.js
3+
var x;
4+
var Foo = (function () {
5+
function Foo() {
6+
}
7+
return Foo;
8+
})();
9+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
EmitOutputStatus : Succeeded
2+
Filename : outputDir/singleFile.js
3+
var x;
4+
var Bar = (function () {
5+
function Bar() {
6+
}
7+
return Bar;
8+
})();
9+
var x;
10+
var Foo = (function () {
11+
function Foo() {
12+
}
13+
return Foo;
14+
})();
15+
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
EmitOutputStatus : Succeeded
2+
Filename : tests/cases/fourslash/inputFile3.js
3+
exports.foo = 10;
4+
exports.bar = "hello world";
5+
Filename : tests/cases/fourslash/inputFile3.d.ts
6+
export declare var foo: number;
7+
export declare var bar: string;
8+
Filename : declSingleFile.js
9+
var x = 5;
10+
var Bar = (function () {
11+
function Bar() {
12+
}
13+
return Bar;
14+
})();
15+
var x1 = "hello world";
16+
var Foo = (function () {
17+
function Foo() {
18+
}
19+
return Foo;
20+
})();
21+
Filename : declSingleFile.d.ts
22+
declare var x: number;
23+
declare class Bar {
24+
x: string;
25+
y: number;
26+
}
27+
declare var x1: string;
28+
declare class Foo {
29+
x: string;
30+
y: number;
31+
}
32+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
EmitOutputStatus : Succeeded
2+
Filename : tests/cases/fourslash/inputFile.js.map
3+
{"version":3,"file":"inputFile.js","sourceRoot":"","sources":["inputFile.ts"],"names":["M","M.constructor"],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB,IAAM,CAAC;IAAPA,SAAMA,CAACA;IAGPC,CAACA;IAADD,QAACA;AAADA,CAACA,AAHD,IAGC"}Filename : tests/cases/fourslash/inputFile.js
4+
var x = 109;
5+
var foo = "hello world";
6+
var M = (function () {
7+
function M() {
8+
}
9+
return M;
10+
})();
11+
//# sourceMappingURL=inputFile.js.map
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
EmitOutputStatus : Succeeded
2+
Filename : sample/outDir/inputFile1.js.map
3+
{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["../../tests/cases/fourslash/inputFile1.ts"],"names":["M","M.constructor"],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB,IAAM,CAAC;IAAPA,SAAMA,CAACA;IAGPC,CAACA;IAADD,QAACA;AAADA,CAACA,AAHD,IAGC"}Filename : sample/outDir/inputFile1.js
4+
var x = 109;
5+
var foo = "hello world";
6+
var M = (function () {
7+
function M() {
8+
}
9+
return M;
10+
})();
11+
//# sourceMappingURL=inputFile1.js.map
12+
EmitOutputStatus : Succeeded
13+
Filename : sample/outDir/inputFile2.js.map
14+
{"version":3,"file":"inputFile2.js","sourceRoot":"","sources":["../../tests/cases/fourslash/inputFile2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,aAAa,CAAC;AAC1B,EAAE,CAAC,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC;IACvB,IAAI,CAAC,GAAG,EAAE,CAAC;AACd,CAAC"}Filename : sample/outDir/inputFile2.js
15+
var intro = "hello world";
16+
if (intro !== undefined) {
17+
var k = 10;
18+
}
19+
//# sourceMappingURL=inputFile2.js.map
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
EmitOutputStatus : Succeeded
2+
Filename : tests/cases/fourslash/inputFile.js.map
3+
{"version":3,"file":"inputFile.js","sourceRoot":"sourceRootDir/","sources":["inputFile.ts"],"names":["M","M.constructor"],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB,IAAM,CAAC;IAAPA,SAAMA,CAACA;IAGPC,CAACA;IAADD,QAACA;AAADA,CAACA,AAHD,IAGC"}Filename : tests/cases/fourslash/inputFile.js
4+
var x = 109;
5+
var foo = "hello world";
6+
var M = (function () {
7+
function M() {
8+
}
9+
return M;
10+
})();
11+
//# sourceMappingURL=inputFile.js.map

0 commit comments

Comments
 (0)