📌 pin tamagui #473
Annotations
9 errors and 2 warnings
src/tests/routes/favorite.test.ts > Favorite routes:
server/src/tests/routes/favorite.test.ts#L15
TypeError: generateMockUser is not a function
❯ src/tests/routes/favorite.test.ts:15:12
|
src/tests/routes/pack.test.ts > Template routes > Create pack > Create pack:
server/src/tests/routes/pack.test.ts#L63
TypeError: Cannot destructure property 'id' of 'pack' as it is undefined.
❯ src/tests/routes/pack.test.ts:63:15
|
src/tests/routes/password.test.ts > Reset password routes > Create user > Create user:
server/src/tests/routes/password.test.ts#L17
TypeError: generateMockUser is not a function
❯ src/tests/routes/password.test.ts:17:12
|
src/tests/routes/password.test.ts > Reset password routes > Request password reset > Request password reset:
server/src/tests/routes/password.test.ts#L17
TypeError: generateMockUser is not a function
❯ src/tests/routes/password.test.ts:17:12
|
src/tests/routes/password.test.ts > Reset password routes > Reset password > Reset password:
server/src/tests/routes/password.test.ts#L17
TypeError: generateMockUser is not a function
❯ src/tests/routes/password.test.ts:17:12
|
src/tests/routes/template.test.ts > Template routes > Create template > Create template:
server/src/tests/routes/template.test.ts#L54
TypeError: Cannot destructure property 'id' of 'template' as it is undefined.
❯ src/tests/routes/template.test.ts:54:15
|
src/tests/routes/user.spec.ts > User Routes:
server/src/drizzle/methods/User.ts#L77
TRPCError: jwtSecret is not defined
❯ User.generateAuthToken src/drizzle/methods/User.ts:77:27
❯ src/controllers/user/userSignUp.ts:42:21
❯ resolveMiddleware home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:421:30
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:32
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:32
❯ resolve home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:481:24
❯ src/tests/routes/user.spec.ts:13:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
Caused by: Caused by: Error: jwtSecret is not defined
❯ User.generateAuthToken src/drizzle/methods/User.ts:77:27
❯ src/controllers/user/userSignUp.ts:42:21
❯ resolveMiddleware home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:421:30
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:32
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:32
❯ resolve home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:481:24
❯ src/tests/routes/user.spec.ts:13:16
|
src/tests/routes/user.test.ts:
server/src/tests/routes/user.test.ts#L158
TypeError: generateMockUser is not a function
❯ src/tests/routes/user.test.ts:158:43
|
test
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, 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/
|