mirror of
https://code.forgejo.org/actions/git-backporting.git
synced 2025-05-11 08:09:13 -04:00
perf: use concurrent promises instead of awaiting them one by one (#59)
This commit is contained in:
parent
8c010b43e4
commit
49a7350406
7 changed files with 147 additions and 222 deletions
|
@ -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
|
||||
}),
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue