Skip to content

Commit

Permalink
Fix jest tests (LedgerHQ/ledger-live#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Nov 25, 2022
1 parent b2aab8c commit 9e623c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gauntlet/jest.config.js
Expand Up @@ -11,6 +11,9 @@ module.exports = {
tsconfig: '<rootDir>/packages/gauntlet-solana/tsconfig.json',
},
},
moduleNameMapper: { // workaround for https://github.com/LedgerHQ/ledger-live/issues/763
"@ledgerhq/devices/hid-framing": "<rootDir>/node_modules/@ledgerhq/devices/lib/hid-framing.js",
},
},
{
displayName: 'gauntlet-solana-contracts',
Expand All @@ -22,6 +25,9 @@ module.exports = {
tsconfig: '<rootDir>/packages/gauntlet-solana-contracts/tsconfig.json',
},
},
moduleNameMapper: { // workaround for https://github.com/LedgerHQ/ledger-live/issues/763
"@ledgerhq/devices/hid-framing": "<rootDir>/node_modules/@ledgerhq/devices/lib/hid-framing.js",
},
},
],
}

0 comments on commit 9e623c1

Please sign in to comment.