Skip to content

Commit b04c8f3

Browse files
author
Kanchalai Tanglertsampan
committed
Add incremental tests
1 parent a374c57 commit b04c8f3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/// <reference path="fourslash.ts"/>
2+
3+
// @lib: es6
4+
5+
// @Filename: ./foo.ts
6+
//// export function bar() { return 1; }
7+
8+
//// var x1 = import("./foo");
9+
//// x1.then(foo => {
10+
//// var s: string = foo.bar();
11+
//// })
12+
//// /*1*/
13+
14+
verify.numberOfErrorsInCurrentFile(1);
15+
goTo.marker("1");
16+
edit.insert(" ");
17+
verify.numberOfErrorsInCurrentFile(1);

0 commit comments

Comments
 (0)