Skip to content

Merge branch 'staging' of https://github.com/PotLock/potlock-nextjs-a… #1702

Merge branch 'staging' of https://github.com/PotLock/potlock-nextjs-a…

Merge branch 'staging' of https://github.com/PotLock/potlock-nextjs-a… #1702

Triggered via push November 29, 2024 14:22
Status Failure
Total duration 1m 34s
Artifacts

unit-tests.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors
_tests/homepage.tests.tsx: src/modules/profile/components/FeedCard.tsx#L4
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/modules/profile/components/FeedCard.tsx:4:31 Caused by: ReferenceError: Cannot access '__vi_import_2__' before initialization ❯ _tests/homepage.tests.tsx:2:50 ❯ src/modules/profile/components/FeedCard.tsx:4:31
build (20.x)
Process completed with exit code 1.