Skip to content

Commit

Permalink
fix: provider name in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Fara Woolf authored and fbwoolf committed Nov 20, 2023
1 parent 83c4d04 commit 6b75267
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test.describe('Bitcoin Contract Request Test', () => {
}) =>
page.evaluate(
async params =>
(window as any).HiroWalletProvider.request('acceptBitcoinContractOffer', params).catch(
(window as any).LeatherProvider.request('acceptBitcoinContractOffer', params).catch(
(e: unknown) => e
),
requestParams
Expand Down
2 changes: 1 addition & 1 deletion tests/specs/message-signing/bip322-message-signing.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test.describe('Message signing', () =>
return async (message: string) =>
page.evaluate(
async message =>
(window as any).HiroWalletProvider.request('signMessage', {
(window as any).LeatherProvider.request('signMessage', {
message,
paymentType: 'p2wpkh',
}).catch((e: unknown) => e),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ test.describe('Transaction signing', () => {
return async (txHex: string) =>
page.evaluate(
async txHex =>
(window as any).HiroWalletProvider.request('stx_signTransaction', {
(window as any).LeatherProvider.request('stx_signTransaction', {
txHex,
network: 'mainnet',
}).catch((e: unknown) => e),
Expand Down

0 comments on commit 6b75267

Please sign in to comment.