Remove concept of Actions / runner mode
This commit is contained in:
parent
51abddb49b
commit
b498c79130
45 changed files with 222 additions and 378 deletions
|
|
@ -4,7 +4,7 @@ import * as sinon from "sinon";
|
|||
|
||||
import { getApiClient } from "./api-client";
|
||||
import { setupTests } from "./testing-utils";
|
||||
import { Mode, initializeEnvironment } from "./util";
|
||||
import { initializeEnvironment } from "./util";
|
||||
|
||||
// eslint-disable-next-line import/no-commonjs
|
||||
const pkg = require("../package.json");
|
||||
|
|
@ -18,7 +18,7 @@ test.beforeEach(() => {
|
|||
pluginStub = sinon.stub(githubUtils.GitHub, "plugin");
|
||||
githubStub = sinon.stub();
|
||||
pluginStub.returns(githubStub);
|
||||
initializeEnvironment(Mode.actions, pkg.version);
|
||||
initializeEnvironment(pkg.version);
|
||||
});
|
||||
|
||||
test("Get the client API", async (t) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue