mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 18:37:03 +00:00
test: merge duplicate gateway token coercion checks
This commit is contained in:
parent
1481160484
commit
fe3bd9d65b
1 changed files with 1 additions and 4 deletions
|
|
@ -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("");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue