loopback4-microservice-catalog icon indicating copy to clipboard operation
loopback4-microservice-catalog copied to clipboard

test(search-lib): add unit test for search component.

Open Surbhi-sharma1 opened this issue 3 years ago • 3 comments
trafficstars

Description Unit test cases added for search-lib ie. Search Component

Fixes # (issue) #867

Please delete options that are not relevant.

  • [ ] 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 not work as expected)
  • [ ] Intermediate change (work in progress)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • [ ] Test A
  • [ ] Test B

Checklist:

  • [ ] Performed a self-review of my own code
  • [x] npm test passes on your machine
  • [x] New tests added or existing tests modified to cover all changes
  • [ ] Code conforms with the style guide
  • [ ] API Documentation in code was updated
  • [ ] Any dependent changes have been merged and published in downstream modules

Screenshot from 2022-08-02 12-40-02

Surbhi-sharma1 avatar Jul 26 '22 12:07 Surbhi-sharma1

Add coverage script and share coverage percentage in the PR.

akshatdubeysf avatar Jul 29 '22 12:07 akshatdubeysf

@Surbhi-sharma1 the coverage should be atleast 75%.

akshatdubeysf avatar Aug 01 '22 04:08 akshatdubeysf

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Aug 25 '22 11:08 sonarqubecloud[bot]