-
I am converting I have written the following test to convert
For example, I would also like to include the following test:
|
Beta Was this translation helpful? Give feedback.
Answered by
mcollina
Jul 21, 2022
Replies: 1 comment 4 replies
-
You would need to do change your logic to: const agent = new MockAgent();
agent.disableNetConnect();
setGlobalDispatcher(agent);
// ...in each test..
const mockAgent = agent.get('https://test.ca'); |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
ritvik130
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You would need to do change your logic to: