mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
test: drop redundant empty-profile extraction cases
This commit is contained in:
@@ -102,10 +102,6 @@ describe("getUsedPorts", () => {
|
||||
expect(getUsedPorts(undefined)).toEqual(new Set());
|
||||
});
|
||||
|
||||
it("returns empty set for empty profiles object", () => {
|
||||
expect(getUsedPorts({})).toEqual(new Set());
|
||||
});
|
||||
|
||||
it("extracts ports from profile configs", () => {
|
||||
const profiles = {
|
||||
openclaw: { cdpPort: 18792 },
|
||||
@@ -227,10 +223,6 @@ describe("getUsedColors", () => {
|
||||
expect(getUsedColors(undefined)).toEqual(new Set());
|
||||
});
|
||||
|
||||
it("returns empty set for empty profiles object", () => {
|
||||
expect(getUsedColors({})).toEqual(new Set());
|
||||
});
|
||||
|
||||
it("extracts and uppercases colors from profile configs", () => {
|
||||
const profiles = {
|
||||
openclaw: { color: "#ff4500" },
|
||||
|
||||
Reference in New Issue
Block a user