Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/config/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ describe('Config', () => {
it('replaces invalid values with defaults', async () => {
const customConfig = loadConfigFromCode(
{
disableReporting: false,
disableReporting: true,
metricDebounceTimeMax: -1,
metricDebounceTimeMin: -10,
sandboxTimeout: 0,
Expand Down
2 changes: 1 addition & 1 deletion src/core/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const DEFAULT_CACHE_PATH = (fileSystem: FSPath): string =>
'superface'
);
export const DEFAULT_SANDBOX_TIMEOUT = 100;
export const DEFAULT_DISABLE_REPORTING = false;
export const DEFAULT_DISABLE_REPORTING = true;
export const DEFAULT_CACHE = true;
// 1 hour
export const DEFAULT_BOUND_PROVIDER_TIMEOUT = 60 * 60;
Expand Down
2 changes: 1 addition & 1 deletion src/node/client/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ describe('superface client', () => {
});

it('skips SDKInit reporting', async () => {
new SuperfaceClient({ superJson: undefined });
new SuperfaceClient({ superJson: undefined, disableReporting: false });

// Metric Reporter is setted up
expect(MetricReporter).toHaveBeenCalled();
Expand Down
Loading