We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18aad24 commit 25ca669Copy full SHA for 25ca669
3 files changed
__mocks__/pg-promise/index.ts
@@ -14,7 +14,7 @@ function pgpStubFactory(shouldReturnMockHandler = false) {
14
return {
15
withStubEachResults: (results: any[]) => {
16
pgpStub.each.mockImplementation((query, params, cb) => {
17
- return new Promise(resolve => {
+ return new Promise<void>((resolve) => {
18
results.forEach(cb);
19
resolve();
20
});
0 commit comments