Skip to content

Commit

Permalink
celo cli tests just passed
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmgdr committed Mar 28, 2024
1 parent ee9da6c commit 97bd916
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/test-utils/setup.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const fetchMockSandbox = require('fetch-mock').sandbox()
jest.mock('cross-fetch', () => ({ default: fetchMockSandbox, fetch: fetchMockSandbox }))
jest.mock('cross-fetch', () => fetchMockSandbox)

// @ts-ignore
global.fetchMock = fetchMockSandbox
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/governance/src/proposals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ export class ProposalBuilder {
debug("Couldn't build transaction with strategy %s: %O", strategy.name, e)
}
}

// this throws when every strategy fails. so you must run in debug mode or add another log to see to real error
throw new Error(`Couldn't build call for transaction: ${JSON.stringify(tx)}`)
}

Expand Down

0 comments on commit 97bd916

Please sign in to comment.