From 0e147cf6cbce2e16870297ccaaa9132748539bcd Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Tue, 23 Aug 2022 15:45:48 -0700 Subject: [PATCH] refactor(common): remove unnecesary `null` (#47238) These null values are unused and unecessary. I suspect it's a remnant from when the codebase was transpiled to Dart. PR Close #47238 --- packages/common/testing/src/mock_platform_location.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/testing/src/mock_platform_location.ts b/packages/common/testing/src/mock_platform_location.ts index 2fe46982832..02c5b99003f 100644 --- a/packages/common/testing/src/mock_platform_location.ts +++ b/packages/common/testing/src/mock_platform_location.ts @@ -240,5 +240,5 @@ export class MockPlatformLocation implements PlatformLocation { } export function scheduleMicroTask(cb: () => any) { - Promise.resolve(null).then(cb); + Promise.resolve().then(cb); }