Revert "feat: handle unprotected session expiration (#747)"
This reverts commit 8db549f6f6.
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
const pathsToModuleNameMapper =
|
||||
require('ts-jest/utils').pathsToModuleNameMapper;
|
||||
const pathsToModuleNameMapper = require('ts-jest/utils').pathsToModuleNameMapper;
|
||||
const tsConfig = require('./tsconfig.json');
|
||||
|
||||
const pathsFromTsconfig = tsConfig.compilerOptions.paths;
|
||||
|
||||
module.exports = {
|
||||
restoreMocks: true,
|
||||
clearMocks: true,
|
||||
resetMocks: true,
|
||||
moduleNameMapper: {
|
||||
...pathsToModuleNameMapper(pathsFromTsconfig, {
|
||||
prefix: '<rootDir>',
|
||||
@@ -17,6 +14,7 @@ module.exports = {
|
||||
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
|
||||
},
|
||||
globals: {
|
||||
window: {},
|
||||
__VERSION__: '1.0.0',
|
||||
__DESKTOP__: false,
|
||||
__WEB__: true,
|
||||
|
||||
Reference in New Issue
Block a user