diff --git a/gauntlet/jest.config.js b/gauntlet/jest.config.js index 8e90952d5..ea1499490 100644 --- a/gauntlet/jest.config.js +++ b/gauntlet/jest.config.js @@ -11,6 +11,10 @@ module.exports = { tsconfig: '/packages/gauntlet-solana/tsconfig.json', }, }, + moduleNameMapper: { + // workaround for https://github.com/LedgerHQ/ledger-live/issues/763 + '@ledgerhq/devices/hid-framing': '/node_modules/@ledgerhq/devices/lib/hid-framing.js', + }, }, { displayName: 'gauntlet-solana-contracts', @@ -22,6 +26,10 @@ module.exports = { tsconfig: '/packages/gauntlet-solana-contracts/tsconfig.json', }, }, + moduleNameMapper: { + // workaround for https://github.com/LedgerHQ/ledger-live/issues/763 + '@ledgerhq/devices/hid-framing': '/node_modules/@ledgerhq/devices/lib/hid-framing.js', + }, }, ], }