mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
The test 'labels the default DSH home as ~/.dsh when HOME points at the configured default' mocks node:os to return a temporary home directory and expects discoverBaselineInstructionFiles to fall back to the default ~/.dsh path. However, when DSH_HOME is externally set (e.g. in the DSH agent environment), resolveDshHome(undefined) reads that external value instead of falling back to defaultDshHome(), causing the test to look for AGENTS.md in the wrong directory and return an empty result. Stub DSH_HOME to undefined so the test controls the full resolution path.