From e45bb57a9324f36b517353226789eba736420e05 Mon Sep 17 00:00:00 2001 From: Maria Lorena Rodriguez Viruel Date: Thu, 22 Aug 2024 17:49:07 -0400 Subject: [PATCH] change bracket config --- tests/e2e/default/analytics/analytics.wdio-spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/default/analytics/analytics.wdio-spec.js b/tests/e2e/default/analytics/analytics.wdio-spec.js index 1383d2b6fab..3f9d2eaba0e 100644 --- a/tests/e2e/default/analytics/analytics.wdio-spec.js +++ b/tests/e2e/default/analytics/analytics.wdio-spec.js @@ -38,8 +38,8 @@ describe('Targets', () => { }; before(async () => { - await utils.saveDocs([ ...places.values(), owl ]); - await utils.createUsers([ chw ]); + await utils.saveDocs([...places.values(), owl]); + await utils.createUsers([chw]); await sentinelUtils.waitForSentinel(); await loginPage.login(chw); @@ -112,7 +112,7 @@ describe('Targets', () => { const feedbackDocs = await chtDbUtils.getFeedbackDocs(); expect(feedbackDocs.length).to.equal(1); - expect(feedbackDocs[ 0 ].info.message).to.include('Cannot read properties of undefined (reading \'muted\')'); + expect(feedbackDocs[0].info.message).to.include('Cannot read properties of undefined (reading \'muted\')'); await chtDbUtils.clearFeedbackDocs(); }); });