Skip to content

Commit

Permalink
pass check
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasimir committed Aug 26, 2024
1 parent 18da084 commit 5d1adc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/compass-telemetry/src/index.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('Telemetry', () => {
const trackingLogs: any[] = [];
process.on('compass:track', (event) => trackingLogs.push(event));

track('Test Event1', {
track('Test Event1' as any, {
some_attribute: 123,
});

Expand All @@ -30,7 +30,7 @@ describe('Telemetry', () => {
const trackingLogs: any[] = [];
process.on('compass:track', (event) => trackingLogs.push(event));

track('Test Event2', async () => {
track('Test Event2' as any, async () => {
await new Promise((resolve) => setTimeout(resolve, 3));

return {
Expand All @@ -57,7 +57,7 @@ describe('Telemetry', () => {
const trackingLogs: any[] = [];
process.on('compass:track', (event) => trackingLogs.push(event));

track('Test Event3', () => {
track('Test Event3' as any, () => {
throw new Error('test error');
});

Expand Down

0 comments on commit 5d1adc9

Please sign in to comment.