mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 02:01:27 +00:00
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:
@@ -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" }],
|
||||
|
||||
Reference in New Issue
Block a user