cloudflare-queue-consumer icon indicating copy to clipboard operation
cloudflare-queue-consumer copied to clipboard

WIP: creating tests

Open nicholasgriffintn opened this issue 1 year ago • 1 comments

Description:

Adds tests against the codebase, should improve coverage to all areas of the codebase, but only covers unit testing.

Type of change:

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Why is this change required?:

We don't have tests at the moment

Code changes:

  • Installs new dependencies for running tests
  • Adds missing options that were discovered during test creation
  • Updates tests

nicholasgriffintn avatar Mar 30 '24 12:03 nicholasgriffintn

Code Climate has analyzed commit 4182b717 and detected 2 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 2

The test coverage on the diff in this pull request is 90.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 72.6% (2.6% change).

View more on Code Climate.

qlty-cloud-legacy[bot] avatar Mar 30 '24 12:03 qlty-cloud-legacy[bot]