test(pairing): clear allowlist cache before read spy (#74147)

This commit is contained in:
Vincent Koc
2026-05-01 06:18:25 -07:00
committed by GitHub
parent a4fd45ca31
commit 6c07de05f4

View File

@@ -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,