-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #476 from step-security/rc-16
Release v2.10.2
- Loading branch information
Showing
11 changed files
with
149 additions
and
97 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,9 @@ | ||
import { isArcRunner, sendAllowedEndpoints } 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); | ||
|
||
}); | ||
|
||
|
||
it("should write endpoint files", ()=>{ | ||
process.env["isTest"] = "1" | ||
|
||
let allowed_endpoints = ["github.com:443", "*.google.com:443", "youtube.com"].join(" "); | ||
sendAllowedEndpoints(allowed_endpoints); | ||
|
||
}) |
Oops, something went wrong.