mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 08:12:21 +00:00
test: tighten package tag prefix matching
This commit is contained in:
@@ -23,5 +23,6 @@ describe("normalizePackageTagInput", () => {
|
||||
it("returns trimmed raw values when no package prefix matches", () => {
|
||||
expect(normalizePackageTagInput(" latest ", packageNames)).toBe("latest");
|
||||
expect(normalizePackageTagInput("@other/plugin@beta", packageNames)).toBe("@other/plugin@beta");
|
||||
expect(normalizePackageTagInput("openclawer@beta", packageNames)).toBe("openclawer@beta");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user