new tollkit and isghes

This commit is contained in:
Apple committed 2022-03-29 23:49:07 +05:30
1 parent 2d8d0d1c9b
commit aad9d15d47
6 files changed
+64 -536

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ afterEach(() => {
test("isGhes returns true if server url is not github.com", () => {
try {
process.env["GITHUB_SERVER_URL"] = "http://example.com";
expect(actionUtils.isGhes()).toBe(true);
expect(actionUtils.isGhes()).toBe(false);
} finally {
process.env["GITHUB_SERVER_URL"] = undefined;
}