We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba7c42b commit c6ecb71Copy full SHA for c6ecb71
1 file changed
__tests__/unhappy.brokenWebSocket.js
@@ -85,6 +85,10 @@ describe('Unhappy path', () => {
85
defineEventAttribute(window.WebSocket.prototype, 'error');
86
});
87
88
+ afterEach(() => {
89
+ nock.cleanAll();
90
+ });
91
+
92
test('should reconnect only once for every error', async () => {
93
const directLine = new DirectLine({
94
token: '123',
0 commit comments