feat: add admin search analytics page with stubbed backend (#326) - #440
Open
ojuotimi932 wants to merge 3 commits into
Open
feat: add admin search analytics page with stubbed backend (#326)#440ojuotimi932 wants to merge 3 commits into
ojuotimi932 wants to merge 3 commits into
Annotations
7 errors and 1 warning
|
Run component tests
Process completed with exit code 1.
|
|
Run component tests:
lib/config/font.config.js#L7
Error: [vitest] No "IBM_Plex_Sans_Arabic" export is defined on the "next/font/google" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("next/font/google"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ lib/config/font.config.js:7:30
❯ components/organisms/dashboard/VerificationBanner.jsx:7:31
|
|
Run component tests:
__tests__/admin/useAdminTeam.test.jsx#L65
AssertionError: expected null to be 'network down' // Object.is equality
- Expected:
"network down"
+ Received:
null
❯ __tests__/admin/useAdminTeam.test.jsx:65:34
|
|
Run component tests:
app/[locale]/admin/payments/disputes/page.jsx#L561
ReferenceError: Printer is not defined
❯ DisputesPage app/[locale]/admin/payments/disputes/page.jsx:561:20
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
❯ renderRootSync node_modules/react-dom/cjs/react-dom-client.development.js:17450:11
❯ performWorkOnRoot node_modules/react-dom/cjs/react-dom-client.development.js:16583:35
|
|
Run component tests:
__tests__/admin/PrintRecordViews.test.jsx#L90
TestingLibraryElementError: Unable to find an element with the text: Zaynab Idris. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style=""
>
<div />
</body>
Ignored nodes: comments, script, style
<body
style=""
>
<div />
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/admin/PrintRecordViews.test.jsx:90:25
|
|
Run component tests:
__tests__/admin/PrintRecordViews.test.jsx#L75
Error: expect(received).toBeInTheDocument()
received value must be an HTMLElement or an SVGElement.
❯ __tests__/admin/PrintRecordViews.test.jsx:75:23
|
|
Run component tests:
__tests__/admin/GlobalTransactionExplorer.test.jsx#L117
Error: expect(element).not.toBeInTheDocument()
expected document not to contain element, found <p
class="text-[11px] text-red-500 mt-0.5"
>
Invalid Stellar address format (must start with G and be 56 characters)
</p> instead
❯ __tests__/admin/GlobalTransactionExplorer.test.jsx:117:11
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
parallel
Loading