sync #15
Annotations
10 errors and 1 warning
error: expect(received).toStrictEqual(expected):
packages/openauth/test/authorizer.test.ts#L94
{
+ err: false,
+ tokens: {
+ access: "***",
+ refresh: "user:34d8961dfb732b42:9d1d442b-7942-4e4e-a7dd-8b0ec713850f",
+ },
- access: StringMatching /.+/,
- refresh: StringMatching /.+/,
}
- Expected - 2
+ Received + 5
at /home/runner/work/openauth/openauth/packages/openauth/test/authorizer.test.ts:94:20
|
error: expect(received).toBe(expected):
packages/openauth/test/authorizer.test.ts#L190
Expected: 200
Received: 400
at /home/runner/work/openauth/openauth/packages/openauth/test/authorizer.test.ts:190:29
|
error: expect(received).toBe(expected):
packages/openauth/test/authorizer.test.ts#L214
Expected: 200
Received: 400
at /home/runner/work/openauth/openauth/packages/openauth/test/authorizer.test.ts:214:29
|
error: expect(received).toBe(expected):
packages/openauth/test/authorizer.test.ts#L240
Expected: "invalid_grant"
Received: "invalid_request"
at /home/runner/work/openauth/openauth/packages/openauth/test/authorizer.test.ts:240:26
|
error: expect(received).toBe(expected):
packages/openauth/test/authorizer.test.ts#L245
Expected: 200
Received: 400
at /home/runner/work/openauth/openauth/packages/openauth/test/authorizer.test.ts:245:29
|
error: expect(received).toStrictEqual(expected):
packages/openauth/test/client.test.ts#L103
{
+ err: 61 | }
+ 62 | }
+ 63 |
+ 64 | export class InvalidAccessTokenError extends Error {
+ 65 | constructor() {
+ 66 | super("Invalid access token")
+ ^
+ error: Invalid access token
+ at new InvalidAccessTokenError (/home/runner/work/openauth/openauth/packages/openauth/src/error.ts:66:5)
+ at /home/runner/work/openauth/openauth/packages/openauth/src/client.ts:279:16
+ ,
- subject: {
- properties: {
- userID: "123",
- },
- type: "user",
- },
}
- Expected - 6
+ Received + 11
at /home/runner/work/openauth/openauth/packages/openauth/test/client.test.ts:103:22
|
error: expect(received).toStrictEqual(expected):
packages/openauth/test/client.test.ts#L120
{
+ err: 61 | }
+ 62 | }
+ 63 |
+ 64 | export class InvalidAccessTokenError extends Error {
+ 65 | constructor() {
+ 66 | super("Invalid access token")
+ ^
+ error: Invalid access token
+ at new InvalidAccessTokenError (/home/runner/work/openauth/openauth/packages/openauth/src/error.ts:66:5)
+ at /home/runner/work/openauth/openauth/packages/openauth/src/client.ts:279:16
+ ,
- subject: {
- properties: {
- userID: "123",
- },
- type: "user",
- },
- tokens: {
- access: StringMatching /.+/,
- refresh: StringMatching /.+/,
- },
}
- Expected - 10
+ Received + 11
at /home/runner/work/openauth/openauth/packages/openauth/test/client.test.ts:120:22
|
error: expect(received).toStrictEqual(expected):
packages/openauth/test/client.test.ts#L148
{
+ err: 61 | }
+ 62 | }
+ 63 |
+ 64 | export class InvalidAccessTokenError extends Error {
+ 65 | constructor() {
+ 66 | super("Invalid access token")
+ ^
+ error: Invalid access token
+ at new InvalidAccessTokenError (/home/runner/work/openauth/openauth/packages/openauth/src/error.ts:66:5)
+ at /home/runner/work/openauth/openauth/packages/openauth/src/client.ts:279:16
+ ,
- err: Any<InvalidRefreshTokenError>,
}
- Expected - 1
+ Received + 11
at /home/runner/work/openauth/openauth/packages/openauth/test/client.test.ts:148:22
|
error: Invalid access token:
packages/openauth/src/error.ts#L66
at new InvalidAccessTokenError (/home/runner/work/openauth/openauth/packages/openauth/src/error.ts:66:5)
at /home/runner/work/openauth/openauth/packages/openauth/src/client.ts:279:16
|
test
Process completed with exit code 1.
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|