mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 23:08:28 +00:00
test: finish readonly fixture compatibility for CI check
This commit is contained in:
committed by
Peter Steinberger
parent
c7c047287e
commit
828f4e18e0
@@ -727,7 +727,10 @@ describe("discord reaction notification gating", () => {
|
||||
expect(
|
||||
shouldEmitDiscordReactionNotification({
|
||||
...testCase.input,
|
||||
allowlist: testCase.input.allowlist ? [...testCase.input.allowlist] : undefined,
|
||||
allowlist:
|
||||
"allowlist" in testCase.input && testCase.input.allowlist
|
||||
? [...testCase.input.allowlist]
|
||||
: undefined,
|
||||
}),
|
||||
testCase.name,
|
||||
).toBe(testCase.expected);
|
||||
|
||||
Reference in New Issue
Block a user