fix: add __BASE_PATH__ to jest config

This commit is contained in:
alxshelepenok 2020-07-08 23:03:19 +03:00
parent 90967549af
commit 5e00151d0b

View File

@ -15,7 +15,8 @@ module.exports = {
'node_modules/(?!(gatsby)/)' 'node_modules/(?!(gatsby)/)'
], ],
globals: { globals: {
__PATH_PREFIX__: '' __PATH_PREFIX__: '',
__BASE_PATH__: '',
}, },
setupFiles: ['<rootDir>/jest/loadershim.js'] setupFiles: ['<rootDir>/jest/loadershim.js']
}; };