Test failure - "DefaultReconnectionHandler.test - invokes update on each attempt"
See original GitHub issueFailing 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:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
it.skip('invokes update on each attempt', ...)