Skip to content

fix: mock context #1260

fix: mock context

fix: mock context #1260

Triggered via push December 5, 2024 20:38
Status Failure
Total duration 4m 36s
Artifacts

build.yml

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

Annotations

4 errors and 12 warnings
components/flow/actions/openticket/OpenTicket.test.tsx > OpenTicketComp > should not display ticketer name if brand is in ticketer name: src/components/flow/actions/openticket/OpenTicket.test.tsx#L70
Error: expect(element).not.toBeInTheDocument() expected document not to contain element, found <div style="font-size: 80%;" > Using aaaa {} <span style="font-weight: 400;" > MyBrand Support </span> </div> instead ❯ components/flow/actions/openticket/OpenTicket.test.tsx:70:45
Coverage
Process completed with exit code 1.
components/flow/actions/openticket/OpenTicket.test.tsx > OpenTicketComp > should not display ticketer name if brand is in ticketer name: src/components/flow/actions/openticket/OpenTicket.test.tsx#L70
Error: expect(element).not.toBeInTheDocument() expected document not to contain element, found <div style="font-size: 80%;" > Using aaaa {} <span style="font-weight: 400;" > MyBrand Support </span> </div> instead ❯ components/flow/actions/openticket/OpenTicket.test.tsx:70:45
Tests (18.x)
Process completed with exit code 1.
Coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (18.x): src/components/index.tsx#L51
Do not use "@ts-ignore" because it alters compilation errors
Tests (18.x): src/components/index.tsx#L94
Unexpected any. Specify a different type
Tests (18.x): src/components/index.tsx#L265
'prevProps' is defined but never used
Tests (18.x): src/external/index.ts#L48
Unexpected any. Specify a different type
Tests (18.x): src/external/index.ts#L125
Unexpected any. Specify a different type
Tests (18.x): src/external/index.ts#L141
'reject' is defined but never used
Tests (18.x): src/external/index.ts#L165
Unexpected any. Specify a different type
Tests (18.x): src/external/index.ts#L183
'reject' is defined but never used
Tests (18.x): src/external/index.ts#L196
Unexpected any. Specify a different type
Tests (18.x): src/external/index.ts#L210
Unexpected any. Specify a different type