Add test for incremental with --tsbuildinfo file without specifying --out or config

This commit is contained in:
Sheetal Nandi
2019-03-26 16:03:06 -07:00
parent a4091ae8e3
commit 6deb9cdfc7
4 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
//// [a.ts]
const x = 10;
//// [a.js]
var x = 10;

View File

@@ -0,0 +1,6 @@
=== /a.ts ===
const x = 10;
>x : Symbol(x, Decl(a.ts, 0, 5))

View File

@@ -0,0 +1,7 @@
=== /a.ts ===
const x = 10;
>x : 10
>10 : 10

View File

@@ -0,0 +1,8 @@
// @incremental: true
// @tsBuildInfoFile: /a.tsbuildinfo
// @Filename: /a.ts
const x = 10;