enable strict null check for src/vs/base/test/common/async.test.ts (#65442)

pull/65454/head
Chris Ganga 2018-12-20 08:51:33 +03:00 committed by Matt Bierner
parent 76182e637b
commit 11bbd0569b
2 changed files with 2 additions and 1 deletions

View File

@ -120,6 +120,7 @@
"./vs/base/test/browser/ui/tree/objectTreeModel.test.ts",
"./vs/base/test/common/arrays.test.ts",
"./vs/base/test/common/assert.test.ts",
"./vs/base/test/common/async.test.ts",
"./vs/base/test/common/cache.test.ts",
"./vs/base/test/common/cancellation.test.ts",
"./vs/base/test/common/charCode.test.ts",

View File

@ -522,7 +522,7 @@ suite('Async', () => {
assert.ok(r2Queue);
assert.equal(r1Queue, queue.queueFor(URI.file('/some/path'))); // same queue returned
let syncPromiseFactory = () => Promise.resolve(null);
let syncPromiseFactory = () => Promise.resolve(undefined);
r1Queue.queue(syncPromiseFactory);