From 6648cebf450513b518108e4fd83b76205a0e62e5 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Tue, 8 Sep 2026 09:30:25 -0700 Subject: [PATCH] Fix delay/mkDelay mixup --- test/spec/modules/userId_spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/spec/modules/userId_spec.js b/test/spec/modules/userId_spec.js index 82e7db72a1..cd8cc1362a 100644 --- a/test/spec/modules/userId_spec.js +++ b/test/spec/modules/userId_spec.js @@ -1244,7 +1244,7 @@ describe('User ID', function () { startInit(); startAuctionHook(() => { done(); - }, { adUnits: [getAdUnitMock()] }, { delay: delay() }); + }, { adUnits: [getAdUnitMock()] }, { mkDelay: delay() }); getGlobal().refreshUserIds(); clearStack().then(() => { // simulate init complete @@ -1260,7 +1260,7 @@ describe('User ID', function () { let auctionStarted = false; startAuctionHook(() => { auctionStarted = true; - }, { adUnits: [getAdUnitMock()] }, { delay: delay() }); + }, { adUnits: [getAdUnitMock()] }, { mkDelay: delay() }); return clearStack().then(() => { // init has passed consent by now, so `initialized` is set and the refresh // takes the cancel path; mockId's callback is still outstanding. @@ -1391,7 +1391,7 @@ describe('User ID', function () { }, { adUnits: [getAdUnitMock()] }, { - delay: delay(), + mkDelay: delay(), getIds: () => Promise.reject(new Error()) } );