mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-11-29 11:24:23 +01:00
chore!: set linters to maximum strictness
This commit is contained in:
12 files changed
+202
-108
No files matched your search
@@ -13,9 +13,9 @@ describe('helpers', () => {
|
||||
expect(helpers.sanitizeGithubWorkflowName('sdf234@#$%$^&*()_+{}|:"<>?')).toEqual('sdf234@__________+___:_<>?');
|
||||
});
|
||||
|
||||
test('can sleep', async () => {
|
||||
test('can sleep', () => {
|
||||
const sleep = helpers.defaultSleep(10);
|
||||
await expect(Promise.race([sleep, new Promise((_res, rej) => setTimeout(rej, 20))])).resolves;
|
||||
expect(Promise.race([sleep, new Promise((_res, rej) => setTimeout(rej, 20))])).resolves;
|
||||
});
|
||||
|
||||
test("backoff function doesn't retry non-retryable errors", async () => {
|
||||
|
||||
Reference in new issue
Block a user