unlock-js/src/__tests__/unlockService.test.js
// by using this, we can assert against a contract being the same in tests below
by using this, we can assert against a contract being the same in tests below
by using this we can assert against a contract being the same in tests below
async function nockBeforeEach() {
    nock.cleanAll()
    nock.netVersionAndYield(0)
    unlockService = new UnlockService({
      unlockAddress,
    })
    const provider = new ethersProviders.JsonRpcProvider(endpoint)
    unlockService.signer = provider.getSigner()
    unlockService.provider = provider
    await nock.resolveWhenAllNocksUsed()
  }
async function nockBeforeEach ( ) { nock . cleanAll ( ) nock . netVersionAndYield ( 0 ) unlockService = new UnlockService ( { unlockAddress , } ) const provider = new ethersProviders . JsonRpcProvider ( endpoint ) unlockService . signer = provider . getSigner ( ) unlockService . provider = provider await nock . resolveWhenAllNocksUsed ( ) }
by using this, we can assert against a contract being the same in tests below
by using this we can assert against a contract being the same in tests below