From 8d09675dfd197dbb2c0ca9511325e4376025f10f Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Wed, 29 Jun 2022 08:50:09 -0400 Subject: [PATCH] fix(tests): set mocked state --- tests/mocks/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mocks/index.mjs b/tests/mocks/index.mjs index 780eb48b..1822587b 100644 --- a/tests/mocks/index.mjs +++ b/tests/mocks/index.mjs @@ -8,7 +8,6 @@ import urls from "url" //Mocked state let mocked = false -process.env.METRICS_MOCKED = true //Mocking export default async function({graphql, rest}) { @@ -16,6 +15,7 @@ export default async function({graphql, rest}) { if (mocked) return {graphql, rest} mocked = true + process.env.METRICS_MOCKED = true console.debug("metrics/compute/mocks > mocking") //Load mocks