Skip to content

Commit 29dc67a

Browse files
committed
chore: simplify kms-ethereum-signing resolution in Jest configuration
1 parent 546d4c2 commit 29dc67a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jest.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ module.exports = {
8686
"ipfs-unixfs": "<rootDir>/node_modules/ipfs-unixfs/dist/index.min.js",
8787
"uint8arrays":"<rootDir>/node_modules/uint8arrays/dist/index.min.js",
8888
// Force kms-ethereum-signing to use compiled dist files instead of TypeScript source
89-
"^kms-ethereum-signing$": "<rootDir>/.yalc/kms-ethereum-signing/dist/index.js",
90-
"^kms-ethereum-signing$": "<rootDir>/node_modules/kms-ethereum-signing/dist/index.js",
89+
"^kms-ethereum-signing$": require.resolve('kms-ethereum-signing'),
9190
},
9291

9392
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader

0 commit comments

Comments
 (0)