Function
receivedTooManyLoginAttempts
(clientExpression: string)
Source from the content-addressed store, hash-verified
| 52 | }, |
| 53 | |
| 54 | receivedTooManyLoginAttempts (clientExpression: string) { |
| 55 | clientHandler.getClients(clientExpression).forEach((client) => { |
| 56 | const errorSpy = client.error[TOPIC[TOPIC.AUTH]][AUTH_ACTION[AUTH_ACTION.TOO_MANY_AUTH_ATTEMPTS]] |
| 57 | sinon.assert.calledOnce(errorSpy) |
| 58 | errorSpy.resetHistory() |
| 59 | }) |
| 60 | }, |
| 61 | |
| 62 | recievesNoLoginResponse (clientExpression: string) { |
| 63 | clientHandler.getClients(clientExpression).forEach((client) => { |
Callers
nothing calls this directly
Tested by
no test coverage detected