From 3b215f6c4f2d61f7b3907ef9d288b4041935c60c Mon Sep 17 00:00:00 2001 From: garrytan Date: Sun, 1 Nov 2026 22:13:12 +0000 Subject: [PATCH] fix: type the parity test's env so the test typecheck ratchet stays clean (GST-882) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/skill-start-plain.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/skill-start-plain.test.ts b/test/skill-start-plain.test.ts index 49e58e9fe..a81ba628a 100644 --- a/test/skill-start-plain.test.ts +++ b/test/skill-start-plain.test.ts @@ -80,7 +80,7 @@ describe('skill-start fence is plain shell on every host (GST-882)', () => { for (const layout of ['global', 'repo-local', 'exported']) { if (layout === 'repo-local') stubStart(path.join(repo, host.localSkillRoot)); if (layout === 'exported') stubStart(exported); - const env = layout === 'exported' ? { HOME: home, GSTACK_ROOT: exported } : { HOME: home }; + const env: Record = layout === 'exported' ? { HOME: home, GSTACK_ROOT: exported } : { HOME: home }; expect(root(lookup, env)).toBe(root(runtimeRootPrelude(c), env)); if (layout === 'exported') expect(root(lookup, env)).toBe(`ROOT=${exported}`); }