Skip to content

Mock Window Location in Tests #70

Mock Window Location in Tests

Mock Window Location in Tests #70

Triggered via pull request March 14, 2024 18:41
Status Failure
Total duration 31s
Artifacts

ci.yml

on: pull_request
Build & Test
20s
Build & Test
Coverage Analysis
0s
Coverage Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Build & Test: src/features/redux-counter/ReduxCounter.test.tsx#L31
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
Build & Test: src/features/redux-counter/ReduxCounter.test.tsx#L44
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
Build & Test: src/features/redux-counter/ReduxCounter.test.tsx#L48
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
Build & Test: src/features/redux-counter/ReduxCounter.test.tsx#L60
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
Build & Test: src/features/redux-counter/ReduxCounter.test.tsx#L64
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
Build & Test: src/features/redux-counter/ReduxCounter.test.tsx#L76
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
Build & Test: src/features/redux-counter/ReduxCounter.test.tsx#L79
Property 'toHaveValue' does not exist on type 'Assertion<HTMLElement>'.
Build & Test: src/features/redux-counter/ReduxCounter.test.tsx#L81
Property 'toHaveValue' does not exist on type 'Assertion<HTMLElement>'.
Build & Test: src/features/redux-counter/ReduxCounter.test.tsx#L85
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
Build & Test: src/features/redux-counter/ReduxCounter.test.tsx#L95
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.