We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c84634 commit 14d4b89Copy full SHA for 14d4b89
test/integration/config/analytics.test.ts
@@ -1,6 +1,17 @@
1
import { expect, test } from '@oclif/test';
2
+import { fileCleanup } from '../../helpers';
3
+
4
+const analyticsConfigFilePath = './test/fixtures/.asyncapi-analytics';
5
6
describe('config:analytics', () => {
7
+ beforeEach(() => {
8
+ process.env = Object.assign(process.env, { ASYNCAPI_METRICS_CONFIG_PATH: analyticsConfigFilePath });
9
+ });
10
11
+ afterEach(() => {
12
+ fileCleanup(analyticsConfigFilePath);
13
14
15
describe('with disable flag', () => {
16
test
17
.stderr()
0 commit comments