mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-06 20:10:05 +00:00
chore(auth manager): tests fix
This commit is contained in:
@@ -230,10 +230,10 @@ describe('AuthManager', () => {
|
||||
loginForm: { name: 'test' }
|
||||
})
|
||||
)
|
||||
mockedAxios.post.mockImplementation(() =>
|
||||
mockedAxios.post.mockImplementationOnce(() =>
|
||||
Promise.resolve({ data: mockLoginSuccessResponse })
|
||||
)
|
||||
mockedAxios.get.mockImplementation(() =>
|
||||
mockedAxios.get.mockImplementationOnce(() =>
|
||||
Promise.resolve({ data: mockLoginPublicAccessDeniedResponse })
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user