bcgov / bcgov/entity

business-filings-ui: remove code duplication in unit tests

Open
#2,787 0 comments 0 reactions 0 assignees View on GitHub
ENTITY - DO NOT USE Priority3 techdebt
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

## Description:
SonarCloud static code analysis has identified code duplication in our unit tests. It would be ideal to fix this (although -- IMHO -- not critical as the unit tests currently pass and fixing the code duplication has zero direct value for the customer -- only a possible code maintainability impact).

Ref: https://sonarcloud.io/component_measures?id=bcgov_business-filings-ui&metric=new_duplicated_lines_density&pullRequest=21&view=list

Acceptance for a Task:
- [ ] Requires deployments
- [ ] Add/ maintain selectors for QA purposes
- [ ] Test coverage acceptable
- [ ] Linters passed
- [ ] Peer Reviewed
- [ ] PR Accepted
- [ ] Production burn in completed

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.