mirror of
https://github.com/actions/cache.git
synced 2024-12-26 11:33:05 +07:00
commit
5df1ae880d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user