chore: tree shake unused API methods from CLI (#6973)

This commit is contained in:
Ben McCann 2024-02-09 12:53:37 -08:00 committed by GitHub
parent 954c1c2ef4
commit aff71a10e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
200 changed files with 3337 additions and 22416 deletions

View file

@ -37,7 +37,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}: Response returned an error code`,
`Failed to connect to server ${instanceUrl}: Error: 401`,
);
});