Skip to content

OP-3090: add unit tests for calculation - #47

Open
dszafranek wants to merge 1 commit into
developfrom
feature/vitest-tests
Open

dszafranek wants to merge 1 commit into
developfrom
feature/vitest-tests

Conversation

@dszafranek

Copy link
Copy Markdown

Unit tests for the reducer and actions, run through the assembly's Vitest config.

One test is marked it.fails. It pins a bug found while writing the tests: it asserts the behaviour the code should have, so it turns into a real failure once the bug is fixed, and its comment explains the defect.

Needs openimis/openimis-fe_js#241 to merge first — it is what lets module tests resolve fe-core in CI.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant