mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 23:40:45 +00:00
test: merge duplicate gateway token coercion checks
This commit is contained in:
@@ -128,11 +128,8 @@ describe("normalizeGatewayTokenInput", () => {
|
||||
expect(normalizeGatewayTokenInput(123)).toBe("");
|
||||
});
|
||||
|
||||
it('rejects the literal string "undefined"', () => {
|
||||
it('rejects literal string coercion artifacts ("undefined"/"null")', () => {
|
||||
expect(normalizeGatewayTokenInput("undefined")).toBe("");
|
||||
});
|
||||
|
||||
it('rejects the literal string "null"', () => {
|
||||
expect(normalizeGatewayTokenInput("null")).toBe("");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user