diff --git a/packages/e2e-tests/specs/experiments/site-editor-export.test.js b/packages/e2e-tests/specs/experiments/site-editor-export.test.js index 3b7013e22301a..1ab5bf12c30ee 100644 --- a/packages/e2e-tests/specs/experiments/site-editor-export.test.js +++ b/packages/e2e-tests/specs/experiments/site-editor-export.test.js @@ -20,7 +20,7 @@ async function waitForFileExists( filePath, timeout = 10000 ) { while ( ! fs.existsSync( filePath ) ) { await delay( 1000 ); if ( Date.now() - start > timeout ) { - throw Error( 'waitFile timeout' ); + throw Error( 'waitForFileExists timeout' ); } } }