Merge pull request #727 from ygnoh/patch-1

Fix test description
This commit is contained in:
Ashwin Sangem 2022-02-07 11:30:27 +05:30 committed by GitHub
commit 5df1ae880d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ test("isGhes returns true if server url is not github.com", () => {
}
});
test("isGhes returns true when server url is github.com", () => {
test("isGhes returns false when server url is github.com", () => {
try {
process.env["GITHUB_SERVER_URL"] = "http://github.com";
expect(actionUtils.isGhes()).toBe(false);