perf: use concurrent promises instead of awaiting them one by one (#59)

This commit is contained in:
Shubh Bapna 2023-07-11 16:15:52 -04:00 committed by GitHub
parent 8c010b43e4
commit 49a7350406
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 147 additions and 222 deletions

View file

@ -36,7 +36,7 @@ jest.mock("axios", () => {
iid: 1, // FIXME: I am not testing this atm
}
}),
put: jest.fn(),
put: async () => undefined, // make it async so that .catch doesn't throw an error
}),
};
});