The function of chrome.tabs.get which was added to the library detection was not mocked and this caused the dowloaded report to break. This PR aims to fix this issue.
Relevant Technical Choices
Testing Instructions
Clone this branch.
In the terminal run npm run cli:build && npm run cli -- -u https://bbc.com
Now download the report from cli-dashboard.
Check the html report.
The error for chrome.tabs.get should not be present anymore.
Additional Information:
Screenshot/Screencast
Checklist
[x] I have thoroughly tested this code to the best of my abilities.
[x] I have reviewed the code myself before requesting a review.
[x] This code is covered by unit tests to verify that it works as intended.
[x] The QA of this PR is done by a member of the QA team (to be checked by QA).
Description
The function of
chrome.tabs.get
which was added to the library detection was not mocked and this caused the dowloaded report to break. This PR aims to fix this issue.Relevant Technical Choices
Testing Instructions
npm run cli:build && npm run cli -- -u https://bbc.com
chrome.tabs.get
should not be present anymore.Additional Information:
Screenshot/Screencast
Checklist