perf: use concurrent promises instead of awaiting them one by one

This commit is contained in:
Shubh Bapna 2023-07-11 15:15:51 -04:00
parent 8c010b43e4
commit cd557119b6
7 changed files with 147 additions and 222 deletions

View file

@ -59,7 +59,7 @@ export const postAxiosMocked = (_url: string, data?: {source_branch: string,}) =
};
};
export const putAxiosMocked = (url: string, _data?: unknown) => {
export const putAxiosMocked = async (url: string, _data?: unknown) => {
const responseData = undefined;
// gitlab