From 5e00151d0b153863324194a1f1a92c88b2d8937f Mon Sep 17 00:00:00 2001 From: alxshelepenok Date: Wed, 8 Jul 2020 23:03:19 +0300 Subject: [PATCH] fix: add __BASE_PATH__ to jest config --- jest/jest-config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jest/jest-config.js b/jest/jest-config.js index dc33b10..2211e85 100644 --- a/jest/jest-config.js +++ b/jest/jest-config.js @@ -15,7 +15,8 @@ module.exports = { 'node_modules/(?!(gatsby)/)' ], globals: { - __PATH_PREFIX__: '' + __PATH_PREFIX__: '', + __BASE_PATH__: '', }, setupFiles: ['/jest/loadershim.js'] };