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.

Test failure - "DefaultReconnectionHandler.test - invokes update on each attempt"

See original GitHub issue

Failing Test(s)

  • DefaultReconnectionHandler.test - invokes update on each attempt

Error Message

FAIL tests/DefaultReconnectionHandler.test.ts (23.354 s)
    ● DefaultReconnectionHandler › invokes update on each attempt
  
      expect(jest.fn()).toHaveBeenCalledTimes(expected)
  
      Expected number of calls: 6
      Received number of calls: 5
  
        90 |
        91 |     await delay(500);
      > 92 |     expect(testDisplay.update).toHaveBeenCalledTimes(maxRetries);
           |                                ^
        93 |
        94 |   })
        95 | });
  
        at Object.<anonymous> (tests/DefaultReconnectionHandler.test.ts:92:32)

Build

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
pranavkmcommented, Jan 25, 2022

I’d go for it. I was the one that added the tests, and it got 0 traction from the remainder of the team. We’re really not losing any meaningful coverage removing it.

1reaction
BrennanConroycommented, Jan 25, 2022

it.skip('invokes update on each attempt', ...)

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - How to disable "Attempting to reconnect to the server" ...
components-reconnect-failed : Reconnection failed, probably due to a network failure. To attempt reconnection, call window.Blazor.reconnect() .
Read more >
Blazor Reconnection Issue After Locking Smartphone
Open a basic blazor server template for example; check the code and you will see no signalR is used, read again the question,...
Read more >
ASP.NET Core Blazor SignalR guidance
When the client attempts to create a SignalR connection, the client ... blazor.server.js:1 Uncaught (in promise) Error: Invocation canceled ...
Read more >
Microsoft.AspNetCore.Mvc.Testing failed to build with error ...
I'm getting the MSB4186 error when I tried to build the integration tests project, I'm able to run the web app project directly...
Read more >
Components-reconnect-modal
First of all, let's create a new Razor component in the Components folder.Microsoft. To reload the app,. The following example places these elements....
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