diff --git a/packages/relay-kit/test-utils/mockGetEip4337BundlerProvider.ts b/packages/relay-kit/test-utils/mockGetEip4337BundlerProvider.ts index 43e2f1241..efaa71fae 100644 --- a/packages/relay-kit/test-utils/mockGetEip4337BundlerProvider.ts +++ b/packages/relay-kit/test-utils/mockGetEip4337BundlerProvider.ts @@ -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')