Skip to content

Commit ace325c

Browse files
Shiranuitalexandrebouthinon
andauthored
Update test/kuzzle/authenticator.test.js
Co-authored-by: Alexandre Bouthinon <[email protected]>
1 parent c6ea195 commit ace325c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/kuzzle/authenticator.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ describe('Kuzzle authenticator function mecanisms', () => {
137137

138138
protocol.emit('reconnect');
139139

140-
// We need a timeout since the listener on "reconnect" even is async
140+
// We need a timeout since the listener on "reconnect" event is asynchronous
141141
setTimeout(() => {
142142
should(kuzzle.tryReAuthenticate).be.calledOnce();
143143
should(reconnectedSpy).be.calledOnce();
@@ -276,4 +276,4 @@ describe('Kuzzle authenticator function mecanisms', () => {
276276
should(kuzzle.authenticate()).be.rejected();
277277
});
278278
});
279-
});
279+
});

0 commit comments

Comments
 (0)