Add API key support to created client #34
Annotations
2 errors
|
test
Process completed with exit code 1.
|
|
tests/unit/api-key-auth.test.js > API Key Authentication > User-specific method restrictions > auth.login() should throw error with API key:
tests/unit/api-key-auth.test.js#L72
AssertionError: expected [Function] to throw error including 'The .login() method cannot be used wi…' but got 'client.auth.login is not a function'
Expected: "The .login() method cannot be used with API key authentication. API keys do not require user login flows."
Received: "client.auth.login is not a function"
❯ tests/unit/api-key-auth.test.js:72:44
|