-
-
Notifications
You must be signed in to change notification settings - Fork 225
Expand file tree
/
Copy pathjest.config.js
More file actions
18 lines (17 loc) · 751 Bytes
/
Copy pathjest.config.js
File metadata and controls
18 lines (17 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
transform: {
'^.+\\.tsx?$': 'ts-jest',
'^.+\\.jsx?$': 'ts-jest',
},
transformIgnorePatterns: [
"node_modules/(?!(@polymarket|@opinion-labs|ethers|@ethersproject|axios|@prob|ky|viem|ox|polymarket-us|@noble)/)"
],
moduleNameMapper: {
'^@opinion-labs/opinion-clob-sdk$': '<rootDir>/../node_modules/@opinion-labs/opinion-clob-sdk/dist/index.js',
'^@opinion-labs/opinion-api$': '<rootDir>/../node_modules/@opinion-labs/opinion-api/dist/index.js',
'^@opinion-labs/opinion-api/client$': '<rootDir>/../node_modules/@opinion-labs/opinion-api/dist/client/index.js',
},
testPathIgnorePatterns: ["/node_modules/", "/dist/", "\\.claude/worktrees/agent-"],
};