diff --git a/packages/aws-cdk/test/cdk-toolkit.test.ts b/packages/aws-cdk/test/cdk-toolkit.test.ts index 3b7ae858a6ecb..3ff5f013f0bd5 100644 --- a/packages/aws-cdk/test/cdk-toolkit.test.ts +++ b/packages/aws-cdk/test/cdk-toolkit.test.ts @@ -18,8 +18,8 @@ const fakeChokidarWatcherOn = { }, get fileEventCallback(): ( - event: 'add' | 'addDir' | 'change' | 'unlink' | 'unlinkDir', - path: string, + event: 'add' | 'addDir' | 'change' | 'unlink' | 'unlinkDir', + path: string, ) => Promise { expect(mockChokidarWatcherOn.mock.calls.length).toBeGreaterThanOrEqual(2); const secondCall = mockChokidarWatcherOn.mock.calls[1];