We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c71cf6 commit 21c8bb6Copy full SHA for 21c8bb6
1 file changed
src/vs/base/test/common/cache.test.ts
@@ -8,7 +8,6 @@
8
import * as assert from 'assert';
9
import Cache from 'vs/base/common/cache';
10
import { TPromise } from 'vs/base/common/winjs.base';
11
-import { timeout } from 'vs/base/common/async';
12
13
suite('Cache', () => {
14
@@ -37,7 +36,7 @@ suite('Cache', () => {
37
36
38
const cache = new Cache(() => {
39
counter1++;
40
- return timeout(1).then(() => counter2++);
+ return TPromise.timeout(1).then(() => counter2++);
41
});
42
43
assert.equal(counter1, 0);
0 commit comments