OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
API
/
swagger-ui-5.17.14
/
config
/
jest
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/07/2024 04:33:46 AM
rwxr-xr-x
📄
jest.artifact.config.js
321 bytes
08/07/2024 04:33:46 AM
rw-r--r--
📄
jest.unit.config.js
735 bytes
08/07/2024 04:33:46 AM
rw-r--r--
Editing: jest.unit.config.js
Close
const path = require('path'); module.exports = { rootDir: path.join(__dirname, '..', '..'), testEnvironment: 'jest-environment-jsdom', testMatch: [ '**/test/unit/*.js?(x)', '**/test/unit/**/*.js?(x)', ], setupFiles: ['<rootDir>/test/unit/jest-shim.js'], setupFilesAfterEnv: ['<rootDir>/test/unit/setup.js'], testPathIgnorePatterns: [ '<rootDir>/node_modules/', '<rootDir>/test/build-artifacts/', '<rootDir>/test/unit/jest-shim.js', '<rootDir>/test/unit/setup.js', ], moduleNameMapper: { '^.+\\.svg$': 'jest-transform-stub' }, transformIgnorePatterns: ['/node_modules/(?!(sinon|react-syntax-highlighter)/)'], silent: true, // set to `false` to allow console.* calls to be printed };