bcgov / bcgov/entity

PDF Gen - Update tests for the Generator Class (exclude rendering methods)

Open
#23,299 0 comments 0 reactions 0 assignees View on GitHub
Entities - Data Migration Priority3
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

This is for CI CD work.
Update all unit tests for functionalities excluding rendering ones for the Generator Class.
Note!!!
- Generator has a lot of methods and helper methods may need to have unit tests.
- A lot of the methods are rendering components, discuss with Aimee and/or Eason after step 1 in TODOs. The discussion results may change this ticket a lot

**TODOs**
- [ ] Figure out all required unit tests
- [ ] Add/Update required tests
- [ ] Run `make test` to make sure all the unit tests work as expected

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Generator Class and its existing unit tests, then determine which methods and helpers are non-rendering; the issue names no files or test paths. Discuss the rendering-method boundary with Aimee or Eason after the first TODO step, update the required tests, and run `make test` to confirm the suite passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ci-cd, testing
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.