diff --git a/tests/electron/modules/compliments_spec.js b/tests/electron/modules/compliments_spec.js index 3afa83de83..0af25b1fda 100644 --- a/tests/electron/modules/compliments_spec.js +++ b/tests/electron/modules/compliments_spec.js @@ -10,7 +10,7 @@ describe("Compliments module", () => { await helpers.getElement(".compliments"); const elem = await helpers.getElement(".module-content"); expect(elem).not.toBe(null); - expect(complimentsArray).toContain(await elem.textContent()); + await expect(complimentsArray).toContain(await elem.textContent()); }; afterEach(async () => {