Update componentDetection.test.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Chad Bentz
2025-05-12 17:39:18 -04:00
committed by GitHub
parent fcd2c805ee
commit 3f82ca7921

View File

@@ -20,7 +20,7 @@ test("Parses CLI output", async () => {
});
describe("ComponentDetection.makePackageUrl", () => {
test("returns a empty valid package url from null object", () => {
test("returns an empty string when packageUrlJson is null", () => {
const packageUrl = ComponentDetection.makePackageUrl(null);
expect(packageUrl).toBe("");
});