mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:10:44 +00:00
test(pairing): clear allowlist cache before read spy (#74147)
This commit is contained in:
@@ -185,7 +185,8 @@ async function withAllowFromCacheReadSpy(params: {
|
||||
accountId: "yy",
|
||||
allowFrom: ["1001"],
|
||||
});
|
||||
const readSpy = params.createReadSpy(filePath);
|
||||
clearPairingAllowFromReadCacheForTest();
|
||||
const readSpy = params.createReadSpy();
|
||||
try {
|
||||
await assertAllowFromCacheInvalidation({
|
||||
stateDir: params.stateDir,
|
||||
|
||||
Reference in New Issue
Block a user