From 502d57152021a93056be837013529b770b3992db Mon Sep 17 00:00:00 2001 From: David Szabo Date: Wed, 20 Jan 2021 10:50:47 +0100 Subject: [PATCH] Update error message to match function name --- packages/e2e-tests/specs/experiments/site-editor-export.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); } } }