mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-30 23:59:16 +01:00
commit
5df1ae880d
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
try {
|
||||||
process.env["GITHUB_SERVER_URL"] = "http://github.com";
|
process.env["GITHUB_SERVER_URL"] = "http://github.com";
|
||||||
expect(actionUtils.isGhes()).toBe(false);
|
expect(actionUtils.isGhes()).toBe(false);
|
||||||
|
|
Loading…
Reference in a new issue