catch bot rate limiting error, update tests
This commit is contained in:
@@ -19,8 +19,8 @@ export const mockRegisterRequest = jest
|
||||
|
||||
export const mockDeleteMultipleDevices = jest
|
||||
.fn()
|
||||
.mockImplementation((params) => {
|
||||
if (!params.auth) {
|
||||
.mockImplementation((devices, auth) => {
|
||||
if (!auth) {
|
||||
return Promise.reject({
|
||||
data: { session: "session_id_1234" }
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user