fixed test case
This commit is contained in:
parent
eb47845632
commit
6b41a39235
1 changed files with 2 additions and 2 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
import { isArcRunner, sendAllowedEndpoints } from "./arc-runner";
|
import { isARCRunner } from "./arc-runner";
|
||||||
|
|
||||||
it("should correctly recognize arc based runner", async () => {
|
it("should correctly recognize arc based runner", async () => {
|
||||||
process.env["GITHUB_ACTIONS_RUNNER_EXTRA_USER_AGENT"] =
|
process.env["GITHUB_ACTIONS_RUNNER_EXTRA_USER_AGENT"] =
|
||||||
"actions-runner-controller/2.0.1";
|
"actions-runner-controller/2.0.1";
|
||||||
|
|
||||||
let isArc: boolean = await isArcRunner();
|
let isArc: boolean = await isARCRunner();
|
||||||
expect(isArc).toBe(true);
|
expect(isArc).toBe(true);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue