From d256fbf166e3104e0ebe00eac4d564fd17596e91 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Wed, 8 May 2024 09:29:27 -0400 Subject: [PATCH] refactor: update enterprise host test data --- src/utils/helpers.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/helpers.test.ts b/src/utils/helpers.test.ts index d80ab6451..f9482891b 100644 --- a/src/utils/helpers.test.ts +++ b/src/utils/helpers.test.ts @@ -29,8 +29,8 @@ describe('utils/helpers.ts', () => { }); describe('isEnterpriseHost', () => { it('should return true for enterprise host', () => { - expect(isEnterpriseHost('github.manos.im')).toBe(true); - expect(isEnterpriseHost('api.github.manos.im')).toBe(true); + expect(isEnterpriseHost('github.gitify.app')).toBe(true); + expect(isEnterpriseHost('api.github.gitify.app')).toBe(true); }); it('should return false for non-enterprise host', () => { @@ -95,8 +95,8 @@ describe('utils/helpers.ts', () => { }); it('should generate a GitHub API url - enterprise', () => { - const result = getGitHubAPIBaseUrl('github.manos.im'); - expect(result).toBe('https://github.manos.im/api/v3'); + const result = getGitHubAPIBaseUrl('github.gitify.app'); + expect(result).toBe('https://github.gitify.app/api/v3'); }); });