const path = require ( 'path' ) ; module . exports = { testEnvironment : "jsdom" , moduleNameMapper : { '\\.(css|scss|stylesheet)$' : path . join ( __dirname , 'mockStyles.js' ) , '\\.(png|svg|yaml)$' : path . join ( __dirname , 'mockFiles.js' ) , '^shared/(.*)$' : '<rootDir>/packages/shared/$1' , '^design($|/.*)' : '<rootDir>/packages/design/src/$1' , '^teleport($|/.*)' : '<rootDir>/packages/teleport/src/$1' , '^e-teleport/(.*)$' : '<rootDir>/packages/webapps.e/teleport/src/$1' , } , } ;