1
0
Fork 0
mirror of synced 2026-06-05 15:08:19 +00:00

fixed test case

This commit is contained in:
Jatin 2025-06-05 11:44:37 +05:30
commit 6b41a39235
No known key found for this signature in database
GPG key ID: 191FD2B45D961149

View file

@ -1,9 +1,9 @@
import { isArcRunner, sendAllowedEndpoints } from "./arc-runner";
import { isARCRunner } from "./arc-runner";
it("should correctly recognize arc based runner", async () => {
process.env["GITHUB_ACTIONS_RUNNER_EXTRA_USER_AGENT"] =
"actions-runner-controller/2.0.1";
let isArc: boolean = await isArcRunner();
let isArc: boolean = await isARCRunner();
expect(isArc).toBe(true);
});