chore: remove axios dependency from CLI (#6888)
This commit is contained in:
@@ -32,7 +32,7 @@ describe(`login-key (e2e)`, () => {
|
||||
|
||||
it('should error when providing an invalid API key', async () => {
|
||||
await expect(new LoginCommand(CLI_BASE_OPTIONS).run(instanceUrl, 'invalid')).rejects.toThrow(
|
||||
`Failed to connect to server ${instanceUrl}: Request failed with status code 401`,
|
||||
`Failed to connect to server ${instanceUrl}: Response returned an error code`,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user