Skip to content

Commit

Permalink
try to make stub work
Browse files Browse the repository at this point in the history
  • Loading branch information
frontendphil committed Nov 13, 2024
1 parent 4c96ee9 commit cd24eb9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import sinon from 'sinon'
import * as utils from '../src/packs/safe-4337/utils'

Object.defineProperty(utils, 'getEip4337BundlerProvider', {
configurable: true,
writable: true
})

export const mockGetEip4337BundlerProvider = () => sinon.stub(utils, 'getEip4337BundlerProvider')

0 comments on commit cd24eb9

Please sign in to comment.