Skip to content

Commit 8826de0

Browse files
committed
fix: dont transfrom js
1 parent f1993ac commit 8826de0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/indexer-agent/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
'/node_modules/(?!(@graphprotocol)/)'
1717
],
1818
transform: {
19-
'^.+\\.(t|j)sx?$': ['ts-jest']
19+
'^.+\\.ts$': ['ts-jest'] // Only transform .ts files
2020
},
2121
globals: {
2222
__DATABASE__: {

packages/indexer-cli/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
'/node_modules/(?!(@graphprotocol)/)'
1919
],
2020
transform: {
21-
'^.+\\.(t|j)sx?$': ['ts-jest']
21+
'^.+\\.ts$': ['ts-jest'] // Only transform .ts files
2222
},
2323
testTimeout: 60000,
2424
globals: {

packages/indexer-common/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
'/node_modules/(?!(@graphprotocol)/)'
1717
],
1818
transform: {
19-
'^.+\\.(t|j)sx?$': ['ts-jest']
19+
'^.+\\.ts$': ['ts-jest'] // Only transform .ts files
2020
},
2121
globals: {
2222
__DATABASE__: {

0 commit comments

Comments
 (0)