Can you store the results of your call to nock in a variable (I think in nock parlance it's called a scope) and then call `scope.done()` as well, which throws an error if the nocks weren't all met?

Additionally, did you verify that these tests fail without your fixes?