Skip to content

Add API key support to created client #34

Add API key support to created client

Add API key support to created client #34

Triggered via pull request August 6, 2025 13:36
Status Failure
Total duration 21s
Artifacts

unit-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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