adding nock as a dev dependency