Skip to content

Commit f9ab084

Browse files
committed
test: try to fix jest with dips-proto
1 parent 0b0a9bc commit f9ab084

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/indexer-agent/jest.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ module.exports = {
1111
preset: 'ts-jest',
1212
testEnvironment: 'node',
1313
testPathIgnorePatterns: ['/node_modules/', '/dist/', '.yalc'],
14+
transformIgnorePatterns: [
15+
// Transform @graphprotocol packages but ignore other node_modules
16+
'/node_modules/(?!(@graphprotocol)/)'
17+
],
18+
transform: {
19+
'^.+\\.(t|j)sx?$': ['ts-jest']
20+
},
1421
globals: {
1522
__DATABASE__: {
1623
host:

0 commit comments

Comments
 (0)