Skip to content

feat: Added unit test for default component #23

feat: Added unit test for default component

feat: Added unit test for default component #23

Triggered via push January 26, 2025 15:30
Status Failure
Total duration 38s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
build-and-test
27s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
src/ui/components/default-component.test.tsx > DefaultComponent > renders progress display when renderStatus is PROGRESS: src/ui/components/default-component.test.tsx#L40
AssertionError: expected '\n' to contain 'Mock Progress Display' - Expected + Received - Mock Progress Display + + ❯ src/ui/components/default-component.test.tsx:40:25
src/ui/components/default-component.test.tsx > DefaultComponent > renders the plan when renderStatus is DISPLAY_PLAN: src/ui/components/default-component.test.tsx#L47
AssertionError: expected '\n' to contain 'Mock Plan Component' - Expected + Received - Mock Plan Component + + ❯ src/ui/components/default-component.test.tsx:47:25
src/ui/components/default-component.test.tsx > DefaultComponent > renders import parameter form when renderStatus is IMPORT_PROMPT: src/ui/components/default-component.test.tsx#L61
AssertionError: expected '\n' to contain 'Mock Import Parameters Form' - Expected + Received - Mock Import Parameters Form + + ❯ src/ui/components/default-component.test.tsx:61:25
build-and-test
Process completed with exit code 1.
build-and-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636