question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mocked request starts timing out after picking up v10.0.5

See original GitHub issue

What is the expected behavior? A minor version update of nock library shouldn’t impact my existing tests. What is the actual behavior? All my tests uses fakeTimers are now timing out. Possible solution Revert the fix for https://github.com/nock/nock/issues/677, or make it optional if it has to go as a minor version update. How to reproduce the issue Have sinon.useFakeTimers() in the test case.

Having problem producing a test case? Try and ask the community for help. If the test case cannot be reproduced, the Nock community might not be able to help you.

Does the bug have a test case?

Versions

Software Version(s)
Nock 10.0.5
Node 8

@gr2m @taylor1791

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
nockbotcommented, Jan 2, 2019

🎉 This issue has been resolved in version 10.0.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

1reaction
Chengxuancommented, Jan 2, 2019

I’ll work on a PR then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mirage JS tutorial: Mocking APIs in React - LogRocket Blog
This command starts up the development server of our React application. Setting up Mirage JS. Before we start mocking out the APIs needed...
Read more >
BeerSheets 2022-09-02 (Single Column Sheet Edition) - Reddit
What I like to do is start off with value and see which players are available within each position that have similar value....
Read more >
Shallow Render
Shallow will provide us a mock of list-container and list-item , but if we want to write a test that ensures we hooked...
Read more >
apollo-server | Yarn - Package Manager
Important: This documentation covers modern versions of Yarn. For 1.x docs, see classic.yarnpkg.com. Yarn. ≡. Home · Getting started.
Read more >
Unit Testing Framework - The Graph Docs
To use Matchstick in your subgraph project just open up a terminal, navigate to the root folder of your project and simply run...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found