From 28cb1b643cd0dc8f0cef540475cbca83e00b67b5 Mon Sep 17 00:00:00 2001 From: Greg Leonard <45019882+greg-el@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:25:33 +0100 Subject: [PATCH] add `synchronousCookieWrite: true,` to unit test tracker --- plugins/browser-plugin-media-tracking/tests/test.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/browser-plugin-media-tracking/tests/test.test.ts b/plugins/browser-plugin-media-tracking/tests/test.test.ts index 85fc715f4..2a7f86e30 100644 --- a/plugins/browser-plugin-media-tracking/tests/test.test.ts +++ b/plugins/browser-plugin-media-tracking/tests/test.test.ts @@ -49,6 +49,7 @@ describe('MediaTrackingPlugin', () => { addTracker(`sp${idx++}`, `sp${idx++}`, 'js-3.9.0', '', new SharedState(), { stateStorageStrategy: 'cookie', encodeBase64: false, + synchronousCookieWrite: true, plugins: [ SnowplowMediaPlugin(), MediaTrackingPlugin(),