diff --git a/src/tsconfig.strictNullChecks.json b/src/tsconfig.strictNullChecks.json index 50696af8e1c..0ba7e065858 100644 --- a/src/tsconfig.strictNullChecks.json +++ b/src/tsconfig.strictNullChecks.json @@ -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", diff --git a/src/vs/base/test/common/async.test.ts b/src/vs/base/test/common/async.test.ts index 76257d43640..f354e5edc22 100644 --- a/src/vs/base/test/common/async.test.ts +++ b/src/vs/base/test/common/async.test.ts @@ -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);