Skip to content

Commit

Permalink
small test change
Browse files Browse the repository at this point in the history
  • Loading branch information
shedonnatnael-cb committed Nov 13, 2023
1 parent 989564f commit eb7aab1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/utils/networkLayer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ describe('networkLayer', () => {
{ action: 'hover', component: 'unknown', name: 'defaultEvent2' },
];

let apiFetchSpy: SpyInstance<[options: AnalyticsAPIFetch], void>;
let configOnErrorSpy: SpyInstance<[err: Error, metadata?: Record<string, unknown> | undefined], void>;
let checksumSpy: SpyInstance<[apiKey: string, data: string, uploadTime: string], string>;
let apiFetchSpy: SpyInstance;
let configOnErrorSpy: SpyInstance;
let checksumSpy: SpyInstance;
const config = getConfig();
beforeEach(() => {
vi.resetAllMocks();
Expand Down Expand Up @@ -64,8 +64,8 @@ describe('networkLayer', () => {
{ metricName: 'testMetric1', metricType: MetricType.distribution, value: 2 },
];

let apiFetchSpy: SpyInstance<[options: AnalyticsAPIFetch], void>;
let configOnErrorSpy: SpyInstance<[err: Error, metadata?: Record<string, unknown> | undefined], void>;
let apiFetchSpy: SpyInstance;
let configOnErrorSpy: SpyInstance;
const config = getConfig();
beforeEach(() => {
vi.resetAllMocks();
Expand Down

0 comments on commit eb7aab1

Please sign in to comment.