diff --git a/packages/e2e-test-utils/src/templates.js b/packages/e2e-test-utils/src/templates.js index 7214adbd8971d1..8a851c4a4f99b7 100644 --- a/packages/e2e-test-utils/src/templates.js +++ b/packages/e2e-test-utils/src/templates.js @@ -20,7 +20,7 @@ export async function deleteAllTemplates( type ) { return; } - const [ templates ] = await Promise.all( [ rest( { path } ) ] ); + const [ templates ] = await rest( { path } ); await batch( templates