diff --git a/.claude/skills/update-doc-references/SKILL.md b/.claude/skills/update-doc-references/SKILL.md index 3eaf63ee4b85..7c6393d31908 100644 --- a/.claude/skills/update-doc-references/SKILL.md +++ b/.claude/skills/update-doc-references/SKILL.md @@ -1,3 +1,8 @@ +--- +name: update-doc-references +description: Analyze source-file changes referenced by documentation, update affected docs when needed, and report documentation reference updates for a PR. +--- + # Update Documentation References When source files referenced by documentation change in a PR, analyze the diff --git a/yarn-project/world-state/src/native/native_world_state.test.ts b/yarn-project/world-state/src/native/native_world_state.test.ts index 5acafa7d67b6..5c4437ca7386 100644 --- a/yarn-project/world-state/src/native/native_world_state.test.ts +++ b/yarn-project/world-state/src/native/native_world_state.test.ts @@ -961,6 +961,9 @@ describe('NativeWorldState', () => { await expect(delayedFork.getSiblingPath(MerkleTreeId.NULLIFIER_TREE, 0n)).rejects.toThrow('Fork not found'); await sleep(closeDelayMs * 3); + const closePromise = (delayedFork as any).closePromise; + expect(closePromise).toBeDefined(); + await closePromise; expect(warnSpy).not.toHaveBeenCalled(); expect((ws as any).instance.queues.has(forkId)).toBe(false);