Skip to content

Commit e34d7fe

Browse files
committed
Fix: Use getTestActionsEnv
1 parent 5fa9c0c commit e34d7fe

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

src/testing-utils.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@ import nock from "nock";
1111
import * as sinon from "sinon";
1212

1313
import { ActionState, StateFeature } from "./action-common";
14-
import {
15-
ActionsEnv,
16-
ActionsEnvVars,
17-
getActionsEnv,
18-
getActionVersion,
19-
} from "./actions-util";
14+
import { ActionsEnv, ActionsEnvVars, getActionVersion } from "./actions-util";
2015
import { AnalysisKind } from "./analyses";
2116
import * as apiClient from "./api-client";
2217
import { GitHubApiDetails } from "./api-client";
@@ -226,7 +221,7 @@ export class TestEnv<
226221
startedAt: new Date(),
227222
logger: this.logger,
228223
env: getTestEnv(),
229-
actions: getActionsEnv(),
224+
actions: getTestActionsEnv(),
230225
features: createFeatures([]),
231226
};
232227
}

0 commit comments

Comments
 (0)