Issue #9 follow-up #233
validate.yml
on: pull_request
🧪 Test
5m 13s
🚀 Deploy
0s
Matrix: 🔧 Setup
Annotations
6 errors
|
🧪 Test
Process completed with exit code 1.
|
|
test/index.test.ts > initialize request returns a 403 forbidden if the user has insufficient scopes with helpful error message:
exercises/05.scopes/02.solution.validate-sufficient-scope/test/index.test.ts#L135
AssertionError: 🚨 Token exchange should succeed: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ getAuthToken test/index.test.ts:135:63
❯ test/index.test.ts:8:22
|
|
test/index.test.ts > prompts are visible if the user has the required scopes:
exercises/05.scopes/01.solution.check-scopes/test/index.test.ts#L103
TypeError: fetch failed
❯ getAuthToken test/index.test.ts:103:37
❯ test/index.test.ts:52:22
Caused by: Caused by: Error: read ECONNRESET
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -104, code: 'ECONNRESET', syscall: 'read' }
|
|
test/index.test.ts > prompts are not visible if the user does not have the required scopes:
exercises/05.scopes/01.solution.check-scopes/test/index.test.ts#L186
AssertionError: 🚨 Token exchange should succeed: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ getAuthToken test/index.test.ts:186:63
❯ test/index.test.ts:13:22
|
|
test/index.test.ts > tools can be called with a valid token:
exercises/04.user/02.solution.user/test/index.test.ts#L145
AssertionError: 🚨 Token exchange should succeed: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ getAuthToken test/index.test.ts:145:63
❯ test/index.test.ts:13:22
|
|
test/index.test.ts > tools can be called with a valid token:
exercises/04.user/01.solution.token/test/index.test.ts#L140
AssertionError: 🚨 Token exchange should succeed: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ getAuthToken test/index.test.ts:140:63
❯ test/index.test.ts:13:22
|