Skip to content

Complete the unit tests for model components #240

Complete the unit tests for model components

Complete the unit tests for model components #240

Triggered via pull request December 19, 2024 06:48
Status Failure
Total duration 2m 16s
Artifacts

unit_tests.yml

on: pull_request
Run unit tests
2m 6s
Run unit tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
src/components/__tests__/models/NewModel.spec.js > NewModel > form validation > validates required fields: frontend/src/components/__tests__/models/NewModel.spec.js#L50
AssertionError: expected 0 to be greater than 0 ❯ src/components/__tests__/models/NewModel.spec.js:50:33
src/components/__tests__/models/NewModel.spec.js > NewModel > form validation > validates model name length: frontend/src/components/__tests__/models/NewModel.spec.js#L59
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/components/__tests__/models/NewModel.spec.js:59:61
src/components/__tests__/models/NewModel.spec.js > NewModel > form validation > validates owner selection: frontend/src/components/__tests__/models/NewModel.spec.js#L74
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/components/__tests__/models/NewModel.spec.js:74:61
Run unit tests
Process completed with exit code 1.
Run unit tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636