Teasing 2023 #532
Annotations
9 errors and 11 warnings
src/controllers/partners/getPartners.ts#L16
'display' is defined but never used
|
tests/admin/auth/login.test.ts#L10
'Partner' is defined but never used
|
tests/admin/auth/login.test.ts#L16
'nonAdminUser' is assigned a value but never used
|
tests/admin/auth/login.test.ts#L18
'adminToken' is assigned a value but never used
|
tests/admin/partners/getPartners.test.ts#L27
The variable `i` should be named `index`. A more descriptive name will do too
|
tests/admin/settings/updateSetting.test.ts#L8
'faker' is defined but never used
|
tests/admin/settings/updateSetting.test.ts#L9
'nanoid' is defined but never used
|
tests/partners/getPartners.test.ts#L20
The variable `i` should be named `index`. A more descriptive name will do too
|
|
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/
|
tests/admin/auth/login.test.ts#L10
`@prisma/client` import should occur before import of `../../../src/app`
|
tests/admin/auth/login.test.ts#L48
Replace `·Permission.anim·` with `Permission.anim`
|
tests/admin/auth/login.test.ts#L49
Insert `,`
|
tests/admin/auth/login.test.ts#L50
Insert `;`
|
tests/admin/partners/getPartners.test.ts#L8
`@faker-js/faker` import should occur before import of `../../../src/app`
|
tests/admin/partners/getPartners.test.ts#L12
`@prisma/client` import should occur before import of `../../../src/app`
|
tests/admin/partners/getPartners.test.ts#L46
Insert `··`
|
tests/admin/partners/getPartners.test.ts#L59
Replace `.get('/admin/partners').set('Authorization',·`Bearer·${adminToken}`)` with `⏎······.get('/admin/partners')⏎······.set('Authorization',·`Bearer·${adminToken}`)⏎······`
|
tests/admin/partners/getPartners.test.ts#L60
Delete `⏎`
|
tests/admin/partners/getPartners.test.ts#L81
Replace `⏎······'id',⏎······'name',⏎······'link',⏎······'display',⏎····` with `'id',·'name',·'link',·'display'`
|
The logs for this run have expired and are no longer available.
Loading