Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/env-migration-tracked-consent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading