From b14638545937be3fef449ba062719e592b77c584 Mon Sep 17 00:00:00 2001 From: Andrew Berry Date: Wed, 16 Feb 2022 14:01:46 -0500 Subject: [PATCH] remove enableServices timeout from GPT mock (#22) --- src/utils/mockGPT.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils/mockGPT.js b/src/utils/mockGPT.js index 65b41a6..12b7343 100644 --- a/src/utils/mockGPT.js +++ b/src/utils/mockGPT.js @@ -217,9 +217,7 @@ class GPTMock { return this.version; } enableServices() { - setTimeout(() => { - this.pubadsReady = true; - }, 0); + this.pubadsReady = true; } sizeMapping() { if (!this.sizeMappingBuilder) {