Add incremental tests

This commit is contained in:
Kanchalai Tanglertsampan 2017-06-08 13:35:12 -07:00
parent 7121891921
commit 963a500c8e

View file

@ -0,0 +1,17 @@
/// <reference path="fourslash.ts"/>
// @lib: es6
// @Filename: ./foo.ts
//// export function bar() { return 1; }
//// var x1 = import("./foo");
//// x1.then(foo => {
//// var s: string = foo.bar();
//// })
//// /*1*/
verify.numberOfErrorsInCurrentFile(1);
goTo.marker("1");
edit.insert(" ");
verify.numberOfErrorsInCurrentFile(1);