forked from hummingbot/gateway
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjest.config.js
27 lines (27 loc) · 878 Bytes
/
jest.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
forceExit: true,
coveragePathIgnorePatterns: [
'src/app.ts',
'src/https.ts',
'src/paths.ts',
'src/services/ethereum-base.ts',
'src/services/telemetry-transport.ts',
'src/connectors/uniswap/uniswap.config.ts',
'src/connectors/uniswap/uniswap.ts',
'src/connectors/uniswap/uniswap.lp.helper.ts',
'src/network/network.controllers.ts',
'src/services/ethereum-base.ts',
'src/services/telemetry-transport.ts',
'test/*',
],
modulePathIgnorePatterns: ['<rootDir>/dist/'],
setupFilesAfterEnv: ['<rootDir>/test/setupTests.js'],
globalSetup: '<rootDir>/test/setup.ts',
globalTeardown: '<rootDir>/test/teardown.ts',
moduleNameMapper: {
eccrypto: '<rootDir>/test/mock/eccrypto-mock.js',
},
testPathIgnorePatterns: ['/node_modules/', 'test-helpers'],
};