import nock from 'nock' nock.disableNetConnect() // nock.recorder.rec()