diff --git a/test/_utils/utils.ts b/test/_utils/utils.ts index f82a007..2dc046a 100644 --- a/test/_utils/utils.ts +++ b/test/_utils/utils.ts @@ -36,6 +36,15 @@ export const purgeMockRepository = () => { export const assertTemporaryFolderExists = () => { const folderPath = resolve(TEMP_TEST_FOLDER); if (!existsSync(folderPath)) { + // For debug - print info + const { exec } = require('child_process'); + exec('pwd && ls -ltra', (err: any, stdout: any, stderr: any) => { + // the *entire* stdout and stderr (buffered) + console.debug(`stdout: ${stdout}`); + }); + + + throw new Error(`Temporary folder '${folderPath}' does not exist`); } } \ No newline at end of file