diff --git a/packages/filecoin-actor-utils/jest.config.js b/packages/filecoin-actor-utils/jest.config.js index 383eb0d8..8faf6e4a 100644 --- a/packages/filecoin-actor-utils/jest.config.js +++ b/packages/filecoin-actor-utils/jest.config.js @@ -3,5 +3,8 @@ module.exports = { testRegex: '.(spec|test).ts$', testEnvironment: 'node', collectCoverageFrom: ['**/*.{ts,js}', '!**/node_modules/**'], - testPathIgnorePatterns: ['/node_modules/'] + testPathIgnorePatterns: ['/node_modules/'], + moduleNameMapper: { + '@ipld/dag-cbor': '/node_modules/@ipld/dag-cbor/dist/index.min.js', + }, }