Bump simple-git from 3.32.2 to 3.32.3 #146
+5
−5
Merged
Annotations
3 errors
|
Run tests
Process completed with exit code 1.
|
|
Run tests:
src/test/grade/add/add.test.ts#L11
AssertionError: promise rejected "HttpError: Requires authentication - http… { …(3) }" instead of resolving
❯ src/test/grade/add/add.test.ts:11:26
Caused by: Caused by: HttpError: Requires authentication - https://docs.github.com/rest/classroom/classroom#list-classrooms
❯ fetchWrapper node_modules/@octokit/request/dist-bundle/index.js:123:11
❯ getClassrooms src/api/classroom/classroom.ts:7:13
❯ getAssignment src/test/grade/assignment.ts:5:24
❯ remove src/test/grade/add/add.test.ts:23:39
❯ src/test/grade/add/add.test.ts:11:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 401, request: { method: 'GET', url: 'https://api.github.com/classrooms', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'octokit-rest.js/22.0.1 octokit-core.js/7.0.6 Node.js/20.20.0 (linux; x64)' }, request: { hook: 'Function<bound bound register>' } }, response: { url: 'https://api.github.com/classrooms', status: 401, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', 'content-length': '139', 'content-security-policy': 'default-src \'none\'', 'content-type': 'application/json; charset=utf-8', date: 'Mon, 02 Mar 2026 07:27:55 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'github.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '8411:2EAE76:CEE4544:38A5EB82:69A53BFB', 'x-ratelimit-limit': '60', 'x-ratelimit-remaining': '56', 'x-ratelimit-reset': '1772438949', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '4', 'x-xss-protection': '0' }, data: { message: 'Requires authentication', documentation_url: 'https://docs.github.com/rest/classroom/classroom#list-classrooms', status: '401' } } }
|
|
Run tests:
src/test/grade/add/add.test.ts#L7
AssertionError: promise rejected "HttpError: Requires authentication - http… { …(3) }" instead of resolving
❯ src/test/grade/add/add.test.ts:7:23
Caused by: Caused by: HttpError: Requires authentication - https://docs.github.com/rest/classroom/classroom#list-classrooms
❯ fetchWrapper node_modules/@octokit/request/dist-bundle/index.js:123:11
❯ getClassrooms src/api/classroom/classroom.ts:7:13
❯ getAssignment src/test/grade/assignment.ts:5:24
❯ add src/test/grade/add/add.test.ts:15:39
❯ src/test/grade/add/add.test.ts:7:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 401, request: { method: 'GET', url: 'https://api.github.com/classrooms', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'octokit-rest.js/22.0.1 octokit-core.js/7.0.6 Node.js/20.20.0 (linux; x64)' }, request: { hook: 'Function<bound bound register>' } }, response: { url: 'https://api.github.com/classrooms', status: 401, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', 'content-length': '139', 'content-security-policy': 'default-src \'none\'', 'content-type': 'application/json; charset=utf-8', date: 'Mon, 02 Mar 2026 07:27:55 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'github.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '8410:10BC4D:19C417F:70101AC:69A53BFB', 'x-ratelimit-limit': '60', 'x-ratelimit-remaining': '57', 'x-ratelimit-reset': '1772438949', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '3', 'x-xss-protection': '0' }, data: { message: 'Requires authentication', documentation_url: 'https://docs.github.com/rest/classroom/classroom#list-classrooms', status: '401' } } }
|
Loading