Add mock test for a 413 response from v1/challenge
This commit is contained in:
parent
2a55bfbef9
commit
9efb046a06
10 changed files with 194 additions and 59 deletions
|
@ -81,6 +81,9 @@ function relinkDevice(): RelinkDeviceActionType {
|
|||
function setChallengeStatus(
|
||||
challengeStatus: NetworkStateType['challengeStatus']
|
||||
): SetChallengeStatusActionType {
|
||||
if (challengeStatus === 'required') {
|
||||
window.SignalCI?.handleEvent('captchaDialog', null);
|
||||
}
|
||||
return {
|
||||
type: SET_CHALLENGE_STATUS,
|
||||
payload: { challengeStatus },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue