Fix flaky test and add screenshots

This commit is contained in:
Fedor Indutny 2022-09-01 09:35:44 -07:00 committed by GitHub
parent 0ba23d4b62
commit 0715cc6be3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 41 additions and 31 deletions

View file

@ -60,7 +60,7 @@ const CONTACT_COUNT = 1000;
const duration = Date.now() - start;
console.log(`Took: ${(duration / 1000).toFixed(2)} seconds`);
} catch (error) {
await bootstrap.saveLogs();
await bootstrap.saveLogs(app);
throw error;
} finally {
await app?.close();