0

So I use t.addRequestHooks to add a few requestMock

I have the impression that after the end on my test, the hook are still working.

Is there a way to remove all the requestMock in one line? or should I specify all the t.removeRequestHooks one by one?

Alex Skorkin
  • 4,264
  • 3
  • 25
  • 47
sab
  • 4,352
  • 7
  • 36
  • 60
  • 1
    I tried to reproduce this behavior, but didn't succeed. In my test the request mock added in one test doesn't affect subsequent tests. Could you share your code reproducing the issue? – Shurygin.Sergey Feb 25 '21 at 08:29
  • Can you provide some sample code? – Rob C Feb 25 '21 at 20:14

0 Answers0