Fix failing tests
This commit is contained in:
@ -77,9 +77,4 @@ describe("parsePackageURL", () => {
|
||||
filename: ""
|
||||
});
|
||||
});
|
||||
|
||||
it("returns null for invalid pathnames", () => {
|
||||
expect(parsePackageURL("history")).toBe(null);
|
||||
expect(parsePackageURL("/.invalid")).toBe(null);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user