bcgov / bcgov/bcparks-ar-api

Add Unit tests to check the variance calculation when the variance % is equal to 20%

Open
#234 2 comments 0 reactions 0 assignees View on GitHub
A&R
Dominant language
JavaScript
Stars
2
Forks
12
PR merge metrics
No merged PRs in 30d

Description

**Description**

This ticket is to add unit tests to check the variance when the variance % is equal to 20%. This test should cover both 3 years average and a two-year average.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or existing test is named. Locate the variance calculation and its current unit tests, then inspect how three-year and two-year averages are tested. Done means both cases include a variance percentage equal to 20% and the unit test suite passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
testing-qa
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.