Skip to content

updated seed.ts

updated seed.ts #38

Triggered via push December 10, 2024 03:04
Status Failure
Total duration 1m 28s
Artifacts

deploy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 14 warnings
app/routes/__tests__/_todos.$date.$todoPageId.test.tsx: node_modules/tiny-invariant/dist/esm/tiny-invariant.js#L12
Error: Invariant failed: SESSION_SECRET must be set ❯ Proxy.invariant node_modules/tiny-invariant/dist/esm/tiny-invariant.js:12:11 ❯ app/session.server.ts:7:1 ❯ app/routes/_todos.$date.$todoPageId.tsx:6:31
app/routes/__tests__/_todos.$date.new.test.tsx > action function > should create a todo page successfully: app/routes/__tests__/_todos.$date.new.test.tsx#L66
AssertionError: expected '/2023-06-05/todo-id' to be '/2023-06-04/todo-id' // Object.is equality Expected: "/2023-06-04/todo-id" Received: "/2023-06-05/todo-id" ❯ app/routes/__tests__/_todos.$date.new.test.tsx:66:44
app/routes/__tests__/_todos.$date.test.tsx: node_modules/tiny-invariant/dist/esm/tiny-invariant.js#L12
Error: Invariant failed: SESSION_SECRET must be set ❯ Proxy.invariant node_modules/tiny-invariant/dist/esm/tiny-invariant.js:12:11 ❯ app/session.server.ts:7:1 ❯ app/routes/_todos.$date.tsx:9:31
⚡ Vitest
Process completed with exit code 1.
⬣ ESLint: app/components/CreateTodoPageTabItem.tsx#L1
'Form' is defined but never used
⬣ ESLint: app/components/CreateTodoPageTabItem.tsx#L2
'TrashIcon' is defined but never used
⬣ ESLint: app/components/DatePicker.tsx#L3
'React' is defined but never used
⬣ ESLint: app/components/DatePicker.tsx#L5
`date-fns` import should occur before import of `react`
⬣ ESLint: app/components/DatePicker.tsx#L6
`lucide-react` import should occur before import of `react`
⬣ ESLint: app/components/DatePicker.tsx#L9
`~/components/ui/button` import should occur before import of `~/lib/utils`
⬣ ESLint: app/components/DatePicker.tsx#L10
`~/components/ui/calendar` import should occur before import of `~/lib/utils`
⬣ ESLint: app/components/DatePicker.tsx#L11
There should be at least one empty line between import groups
⬣ ESLint: app/components/DatePicker.tsx#L11
`~/components/ui/popover` import should occur before import of `~/lib/utils`
⬣ ESLint: app/components/DatePicker.tsx#L16
`@remix-run/react` type import should occur before import of `react`
⚫️ Cypress
Cypress tests: 2 failed
ʦ TypeScript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
⚡ Vitest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
⬣ ESLint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
⬣ ESLint: app/routes/__tests__/_todos.$date.$todoPageId.test.tsx#L17
'/home/runner/work/to_do/to_do/node_modules/@testing-library/react/dist/@testing-library/react.esm.js' imported multiple times
⬣ ESLint: app/routes/__tests__/_todos.$date.$todoPageId.test.tsx#L26
'/home/runner/work/to_do/to_do/node_modules/@testing-library/react/dist/@testing-library/react.esm.js' imported multiple times
⬣ ESLint: app/routes/__tests__/_todos.$date.new.test.tsx#L8
'/home/runner/work/to_do/to_do/node_modules/vitest/dist/index.js' imported multiple times
⬣ ESLint: app/routes/__tests__/_todos.$date.new.test.tsx#L9
'/home/runner/work/to_do/to_do/app/routes/_todos.$date.new.tsx' imported multiple times
⬣ ESLint: app/routes/__tests__/_todos.$date.new.test.tsx#L10
'/home/runner/work/to_do/to_do/app/routes/_todos.$date.new.tsx' imported multiple times
⬣ ESLint: app/routes/__tests__/_todos.$date.new.test.tsx#L14
'/home/runner/work/to_do/to_do/node_modules/vitest/dist/index.js' imported multiple times
⬣ ESLint: app/routes/__tests__/_todos.$date.new.test.tsx#L149
Unexpected debug statement
⬣ ESLint: app/routes/_todos.$date.tsx#L18
'/home/runner/work/to_do/to_do/app/utils.ts' imported multiple times
⬣ ESLint: app/routes/_todos.$date.tsx#L19
'/home/runner/work/to_do/to_do/app/utils.ts' imported multiple times
⚫️ Cypress
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636