From fda2c3451fb68d69731cb3e728d659b258263b50 Mon Sep 17 00:00:00 2001 From: Kshitij Sobti Date: Mon, 8 Jan 2024 13:32:52 +0530 Subject: [PATCH] temp: Fix tests so that they work in older branch --- src/scripts/GoogleTagManagerLoader.test.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/scripts/GoogleTagManagerLoader.test.js b/src/scripts/GoogleTagManagerLoader.test.js index 12022764c..56cbae0cb 100644 --- a/src/scripts/GoogleTagManagerLoader.test.js +++ b/src/scripts/GoogleTagManagerLoader.test.js @@ -3,14 +3,15 @@ import { GoogleTagManagerLoader } from './index'; const gtmId = 'test-key'; describe('GoogleTagManager', () => { - let gtmScriptId; + let gtmScriptSrc; let firstScriptTag; beforeEach(() => { window.googleTagManager = []; - document.head.innerHTML = 'Testing'; + document.head.innerHTML = 'Title'; document.body.innerHTML = '