From e0dd24bcf73b43ce1c799d8e82dea5405dd67002 Mon Sep 17 00:00:00 2001 From: Michael Richardson Date: Mon, 13 Jul 2020 11:22:07 -0700 Subject: [PATCH] add missing await to FileTranscriptStore test --- libraries/botbuilder/tests/fileTranscriptStore.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/botbuilder/tests/fileTranscriptStore.test.js b/libraries/botbuilder/tests/fileTranscriptStore.test.js index 0a41b5882..8f40d4054 100644 --- a/libraries/botbuilder/tests/fileTranscriptStore.test.js +++ b/libraries/botbuilder/tests/fileTranscriptStore.test.js @@ -222,7 +222,7 @@ describe('The FileTranscriptStore', () => { activities.push(...createActivities(uuid(), startDate, 1)); } storage = new FileTranscriptStore(workingFolder); - return Promise.all(activities.map(activity => storage.logActivity(activity))); + return await Promise.all(activities.map(activity => storage.logActivity(activity))); }); after(() => fs.remove(workingFolder));