Week 1 Task 4: Replace console.logs with centralized logger utility #8
Annotations
15 errors and 8 warnings
|
E2E Tests
This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
|
Lint
Process completed with exit code 1.
|
|
Lint:
check-db.js#L1
A `require()` style import is forbidden
|
|
Lint:
add-demo-community.js#L1
A `require()` style import is forbidden
|
|
Type Check:
tests/api/password-reset.test.ts#L287
Property 'passwordResetToken' does not exist on type '{ id: string; username: string; email: string | null; lightningAddress: string | null; nostrPubkey: string | null; createdAt: Date; hashedPassword: string | null; }'.
|
|
Type Check:
tests/api/password-reset.test.ts#L211
Object literal may only specify known properties, but 'passwordResetToken' does not exist in type '(Without<UserCreateInput, UserUncheckedCreateInput> & UserUncheckedCreateInput) | (Without<...> & UserCreateInput)'. Did you mean to write 'passwordResetTokens'?
|
|
Type Check:
tests/api/password-reset.test.ts#L156
Object literal may only specify known properties, but 'passwordResetToken' does not exist in type '(Without<UserCreateInput, UserUncheckedCreateInput> & UserUncheckedCreateInput) | (Without<...> & UserCreateInput)'. Did you mean to write 'passwordResetTokens'?
|
|
Type Check:
tests/api/password-reset.test.ts#L145
Property 'passwordResetTokenExpiry' does not exist on type '{ id: string; username: string; email: string | null; lightningAddress: string | null; nostrPubkey: string | null; createdAt: Date; hashedPassword: string | null; }'.
|
|
Type Check:
tests/api/password-reset.test.ts#L144
Property 'passwordResetToken' does not exist on type '{ id: string; username: string; email: string | null; lightningAddress: string | null; nostrPubkey: string | null; createdAt: Date; hashedPassword: string | null; }'.
|
|
Type Check:
tests/api/password-reset.test.ts#L105
Object literal may only specify known properties, but 'passwordResetToken' does not exist in type '(Without<UserCreateInput, UserUncheckedCreateInput> & UserUncheckedCreateInput) | (Without<...> & UserCreateInput)'. Did you mean to write 'passwordResetTokens'?
|
|
Type Check:
tests/api/password-reset.test.ts#L40
Property 'passwordResetTokenExpiry' does not exist on type '{ id: string; username: string; email: string | null; lightningAddress: string | null; nostrPubkey: string | null; createdAt: Date; hashedPassword: string | null; }'.
|
|
Type Check:
tests/api/password-reset.test.ts#L37
Property 'passwordResetTokenExpiry' does not exist on type '{ id: string; username: string; email: string | null; lightningAddress: string | null; nostrPubkey: string | null; createdAt: Date; hashedPassword: string | null; }'.
|
|
Type Check:
tests/api/password-reset.test.ts#L36
Property 'passwordResetToken' does not exist on type '{ id: string; username: string; email: string | null; lightningAddress: string | null; nostrPubkey: string | null; createdAt: Date; hashedPassword: string | null; }'.
|
|
Type Check:
tests/api/auth.test.ts#L227
Type 'null' is not assignable to type 'string | undefined'.
|
|
Unit Tests
Process completed with exit code 1.
|
|
Lint:
tests/setup.ts#L2
'afterAll' is defined but never used
|
|
Lint:
tests/api/communities.test.ts#L201
'member' is assigned a value but never used
|
|
Lint:
tests/api/auth.test.ts#L231
Unexpected any. Specify a different type
|
|
Lint:
tests/api/auth.test.ts#L213
Unexpected any. Specify a different type
|
|
Lint:
tests/api/auth.test.ts#L201
Unexpected any. Specify a different type
|
|
Lint:
tests/api/auth.test.ts#L182
Unexpected any. Specify a different type
|
|
Lint:
sentry.server.config.ts#L11
Unexpected any. Specify a different type
|
|
Lint:
sentry.client.config.ts#L11
Unexpected any. Specify a different type
|