mirror of
https://github.com/github/codeql-action.git
synced 2026-04-27 01:08:46 +00:00
Update src/config-utils.test.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -298,7 +298,7 @@ test("loading config with version mismatch throws", async (t) => {
|
||||
// Stub `getActionVersion` to return some nonsense.
|
||||
const getActionVersionStub = sinon
|
||||
.stub(actionsUtil, "getActionVersion")
|
||||
.resolves("does-not-exist");
|
||||
.returns("does-not-exist");
|
||||
|
||||
await configUtils.initConfig(
|
||||
createTestInitConfigInputs({
|
||||
|
||||
Reference in New Issue
Block a user