mirror of https://github.com/openclaw/openclaw.git
test: drop redundant empty-profile extraction cases
This commit is contained in:
parent
8f603ec03d
commit
ac02e45a88
|
|
@ -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" },
|
||||
|
|
|
|||
Loading…
Reference in New Issue