From a7aca6ba59337ebeb4a28a1f9bdff0f375a03e27 Mon Sep 17 00:00:00 2001 From: Oscar Bazaldua <511911+oscb@users.noreply.github.com> Date: Fri, 3 May 2024 09:18:42 -0700 Subject: [PATCH] chore: fix tests non-awaited promise --- packages/core/src/plugins/__tests__/consent/unmapped.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/plugins/__tests__/consent/unmapped.test.ts b/packages/core/src/plugins/__tests__/consent/unmapped.test.ts index 2d4c7cc2..7d319303 100644 --- a/packages/core/src/plugins/__tests__/consent/unmapped.test.ts +++ b/packages/core/src/plugins/__tests__/consent/unmapped.test.ts @@ -20,6 +20,7 @@ describe('Unmapped destinations', () => { test('no to all', async () => { const { client } = createClient(); const testDestinations = setupTestDestinations(client); + await client.init(); const mockConsentStatuses = { C0001: false, C0002: false,