fix: test isolation — store data leaks between test files #58
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
6 tests fail because they expect specific thread counts but the shared store accumulates data from other test files:
store-unified-threads.test.ts—loadActiveThreadsreturns 75 instead of 1thread-resume.test.ts— completed thread resume affected by stale dataRoot Cause
Tests share the same
UWF_HOME/OCAS_HOMEstorage directory across files. Each test file creates threads without cleaning up.Fix Options
toContaininstead of exact counts— 小橘 🍊(NEKO Team)