Skip to content

fix: offline scope

fix: offline scope #33

Triggered via pull request September 12, 2024 08:45
Status Failure
Total duration 38s
Artifacts

build-test-ci.yml

on: pull_request
Matrix: main
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
utils/generateAuthUrl.test.ts > generateAuthUrl > should handle default responseType if not provided: lib/utils/generateAuthUrl.test.ts#L71
AssertionError: expected 'https://auth.example.com/oauth2/auth?…' to be 'https://auth.example.com/oauth2/auth?…' // Object.is equality Expected: "https://auth.example.com/oauth2/auth?client_id=client123&response_type=code&start_page=login&redirect_uri=https%3A%2F%2Fexample2.com&scope=openid+profile+offline_access&prompt=create&state=state123" Received: "https://auth.example.com/oauth2/auth?client_id=client123&response_type=code&start_page=login&redirect_uri=https%3A%2F%2Fexample2.com&scope=openid+profile+offline&prompt=create&state=state123" ❯ utils/generateAuthUrl.test.ts:71:35
utils/generateAuthUrl.test.ts > generateAuthUrl > should handle default responseType if not provided: lib/utils/generateAuthUrl.test.ts#L94
AssertionError: expected 'https://auth.example.com/oauth2/auth?…' to be 'https://auth.example.com/oauth2/auth?…' // Object.is equality Expected: "https://auth.example.com/oauth2/auth?client_id=client123&response_type=code&start_page=login&redirect_uri=https%3A%2F%2Fexample2.com&scope=openid+profile+offline_access&prompt=create" Received: "https://auth.example.com/oauth2/auth?client_id=client123&response_type=code&start_page=login&redirect_uri=https%3A%2F%2Fexample2.com&scope=openid+profile+offline&prompt=create" ❯ utils/generateAuthUrl.test.ts:94:35
main (20.x)
Process completed with exit code 1.
main (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/