Skip to content

Commit

Permalink
Merge branch 'master' into feat/add-metadata-remaining-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-rr authored Jun 5, 2024
2 parents 3c2205b + 14d4b89 commit 04332fd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/integration/config/analytics.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
import { expect, test } from '@oclif/test';
import { fileCleanup } from '../../helpers';

const analyticsConfigFilePath = './test/fixtures/.asyncapi-analytics';

describe('config:analytics', () => {
beforeEach(() => {
process.env = Object.assign(process.env, { ASYNCAPI_METRICS_CONFIG_PATH: analyticsConfigFilePath });
});

afterEach(() => {
fileCleanup(analyticsConfigFilePath);
});

describe('with disable flag', () => {
test
.stderr()
Expand Down

0 comments on commit 04332fd

Please sign in to comment.