From 6b0d49cb02c5dbd38a23a28967adc44588b23401 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Fri, 9 Sep 2022 07:35:49 -0400 Subject: [PATCH] Quick testMode log. --- src/lib/state.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/state.js b/src/lib/state.js index e891672..9ede0e5 100644 --- a/src/lib/state.js +++ b/src/lib/state.js @@ -45,7 +45,8 @@ const buildMockItem = () => { const mockItems = Array(100).fill(buildMockItem, 0).map(mocker => mocker()) -export const testMode = (process?.env?.KAFKA_FRONTEND_TEST_MODE === 'true') +export const testMode = process?.env?.KAFKA_FRONTEND_TEST_MODE === 'true' +console.log({ testMode }) export const state = writable({ items: [],