Let body and responses be any zod type #614
Annotations
5 errors and 8 warnings
getJwtPayloadFromProfile › creates auth info for a new staff:
src/common/auth.test.ts#L49
expect(received).toMatchObject(expected)
- Expected - 0
+ Received + 1
Object {
"email": "staff@hackillinois.org",
"id": "googlestaff",
"provider": "google",
"roles": Array [
+ "USER",
"STAFF",
],
}
at toMatchObject (common/auth.test.ts:49:28)
|
getJwtPayloadFromProfile › creates auth info for a new admin:
src/common/auth.test.ts#L49
expect(received).toMatchObject(expected)
- Expected - 0
+ Received + 1
Object {
"email": "admin@hackillinois.org",
"id": "googleadmin",
"provider": "google",
"roles": Array [
+ "USER",
"STAFF",
"ADMIN",
],
}
at toMatchObject (common/auth.test.ts:49:28)
|
getJwtPayloadFromProfile › updates auth info for a existing staff:
src/common/auth.test.ts#L82
expect(received).toMatchObject(expected)
- Expected - 0
+ Received + 1
Object {
"email": "staff@hackillinois.org",
"id": "staff",
"provider": "google",
"roles": Array [
+ "USER",
"STAFF",
],
}
at toMatchObject (common/auth.test.ts:82:28)
|
getJwtPayloadFromProfile › updates auth info for a existing admin:
src/common/auth.test.ts#L82
expect(received).toMatchObject(expected)
- Expected - 0
+ Received + 1
Object {
"email": "admin@hackillinois.org",
"id": "admin",
"provider": "google",
"roles": Array [
+ "USER",
"STAFF",
"ADMIN",
],
}
at toMatchObject (common/auth.test.ts:82:28)
|
test
Process completed with exit code 1.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, 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/
|
format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, 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/
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, 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/
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, 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/
|