Skip to content

Commit c1efb64

Browse files
committed
Fix missing analysisKinds in createTestConfig
1 parent f96201c commit c1efb64

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

lib/testing-utils.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/testing-utils.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/testing-utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import {
2525
GitHubVersion,
2626
HTTPError,
2727
} from "./util";
28+
import { AnalysisKind } from "./analyses";
2829

2930
export const SAMPLE_DOTCOM_API_DETAILS = {
3031
auth: "token",
@@ -353,6 +354,7 @@ export function createTestConfig(overrides: Partial<Config>): Config {
353354
return Object.assign(
354355
{},
355356
{
357+
analysisKinds: [AnalysisKind.CodeScanning],
356358
languages: [],
357359
buildMode: undefined,
358360
originalUserInput: {},

0 commit comments

Comments
 (0)