ESLint: allow for..of
This commit is contained in:
parent
ff4aa228f6
commit
9e9a815a2b
36 changed files with 6 additions and 57 deletions
|
@ -95,9 +95,6 @@ describe('uploadDebugLogs', () => {
|
|||
{ fields: { key: '123' }, url: 'not a valid URL' },
|
||||
];
|
||||
|
||||
// We want to make sure these run serially, so we can't use `Promise.all`. They're
|
||||
// async, so we can't use `forEach`. `for ... of` is a reasonable option here.
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
for (const body of bodies) {
|
||||
this.fakeGet.resolves({ body });
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue