From d0cf767efa9818c07f605e4c6f1aa86f7405d425 Mon Sep 17 00:00:00 2001 From: Dimitri Kennedy <344842+roodboi@users.noreply.github.com> Date: Fri, 13 Nov 2026 12:58:19 -0500 Subject: [PATCH] test(env): align tracked migration consent wording (HACK-2182) --- tests/env-migration-tracked-consent.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/env-migration-tracked-consent.test.ts b/tests/env-migration-tracked-consent.test.ts index 02a341226..8b49125fb 100644 --- a/tests/env-migration-tracked-consent.test.ts +++ b/tests/env-migration-tracked-consent.test.ts @@ -215,7 +215,11 @@ for (const backend of ["compose", "native"] as const) { expect(run.output).toContain( `Moved ${KEY} to .hack/hack.env.local.yaml (values omitted).` ); - expect(run.output).toContain("tracked by git and can now be removed"); + expect( + run.output.replace(/[│\r\n]/g, " ").replace(/\s+/g, " ") + ).toContain( + "These legacy env files are tracked by git, or are keys kept with a tracked store, and can now be removed. Teammates share the tracked files, so commit their removal together with the new env layers:" + ); expect(await status(project)).toEqual([ " D .hack/hack.env.json", " M .hack/docker-compose.yml",