forked from hummingbot/gateway
-
Notifications
You must be signed in to change notification settings - Fork 1
/
jest.config.js
41 lines (41 loc) · 1.43 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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/cosmos-base.ts',
'src/services/telemetry-transport.ts',
'src/chains/cronos/cronos.ts',
'src/chains/binance-smart-chain/binance-smart-chain.ts',
'src/chains/ethereum/ethereum.ts',
'src/chains/avalanche/avalanche.ts',
'src/chains/avalanche/pangolin/pangolin.ts',
'src/chains/cosmos/cosmos.ts',
'src/chains/near/near.ts',
'src/chains/near/near.base.ts',
'src/connectors/uniswap/uniswap.config.ts',
'src/connectors/uniswap/uniswap.ts',
'src/connectors/uniswap/uniswap.lp.helper.ts',
'src/connectors/openocean/openocean.ts',
'src/connectors/pangolin/pangolin.ts',
'src/connectors/quickswap/quickswap.ts',
'src/connectors/sushiswap/sushiswap.ts',
'src/connectors/traderjoe/traderjoe.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'],
};