Skip to content

Commit

Permalink
Enhancement/highcharts disable diagramtypes cleanup (#761)
Browse files Browse the repository at this point in the history
Remove two redundant disable tests, add two new,
and refactor all disable tests.

Remove:

- `noSeriesOrNoData`
- `allDataInOneOrMoreSeriesAreFlagged`

Add:

- `notAllUnitsFoundInSeries`
- `onlyOneSerieAndAllDataAreFlagged`

Refactoring:

- Add enum msgId
- Remove diagram type switch, use if tests instead
  - Test for one or more diagram type pr. test
  - Call one or more test inside the if tests
- Rename, and rewrite all the disable tests
  • Loading branch information
proand authored Nov 27, 2024
1 parent c18dc52 commit d4b5a02
Show file tree
Hide file tree
Showing 4 changed files with 2,032 additions and 2,227 deletions.
Loading

0 comments on commit d4b5a02

Please sign in to comment.