Skip to content

Commit

Permalink
Merge branch 'master' into db/feat/support-configurables-in-typegen
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbate authored Jun 5, 2023
2 parents 6d247ac + fc03b40 commit 5d042f4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
2 changes: 2 additions & 0 deletions .changeset/happy-cougars-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
9 changes: 0 additions & 9 deletions packages/wallet/src/account.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ import * as providersMod from '@fuel-ts/providers';

import { Account } from './account';

// TODO: Check if there's a better alternative to this
/**
* This makes it possible to mock modules that are exported
* from package's index files, using exports syntax such as:
*
* export * from '...'
*
* https://stackoverflow.com/a/72885576
*/
jest.mock('@fuel-ts/providers', () => ({
__esModule: true,
...jest.requireActual('@fuel-ts/providers'),
Expand Down
9 changes: 0 additions & 9 deletions packages/wallet/src/wallet-unlocked.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ import { BaseWalletUnlocked } from './base-unlocked-wallet';
import walletSpec from './wallet-spec';
import { WalletLocked, WalletUnlocked } from './wallets';

// TODO: Check if there's a better alternative to this
/**
* This makes it possible to mock modules that are exported
* from package's index files, using exports syntax such as:
*
* export * from '...'
*
* https://stackoverflow.com/a/72885576
*/
jest.mock('@fuel-ts/providers', () => ({
__esModule: true,
...jest.requireActual('@fuel-ts/providers'),
Expand Down

0 comments on commit 5d042f4

Please sign in to comment.