From 12db63b222720de1dbc292dd4cab9e49a5586a66 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 5 Oct 2026 14:14:50 +0100 Subject: [PATCH] Explain why the `config` input test compares with a separate object Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- src/config-utils.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index cb9df6a18..b1f5f7134 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -602,6 +602,8 @@ test.serial( }), ); + // Compare with a separate object rather than `configInput` itself, so that the test catches + // changes made to the input in place. t.deepEqual(config.originalUserInput, { name: "my config", queries: [{ uses: "./foo" }],