Skip to content

Commit

Permalink
cleanup domain after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tatomyr committed Feb 7, 2025
1 parent 2bcb92a commit 7fa1c11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cli/src/reunite/api/__tests__/domains.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import { getReuniteUrl } from '../domains';
import type { Region } from '@redocly/openapi-core';

describe('getDomain()', () => {
afterEach(() => {
delete process.env.REDOCLY_DOMAIN;
});

it('should return the domain from environment variable', () => {
process.env.REDOCLY_DOMAIN = 'test-domain';

Expand Down

0 comments on commit 7fa1c11

Please sign in to comment.