Explain why the config input test compares with a separate object

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Henry Mercer
2026-10-05 14:14:50 +01:00
parent 55e4091e2b
commit 12db63b222

View File

@@ -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" }],