Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
lerouxb committed Jul 19, 2024
1 parent 3d08105 commit a192470
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/compass/src/app/utils/telemetry.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const connectionInfo: ConnectionInfo = {
connectionOptions: {
connectionString: 'mongodb://localhost:27017',
},
savedConnectionType: 'recent',
};

describe('connection tracking', function () {
Expand Down Expand Up @@ -120,6 +121,7 @@ describe('connection tracking', function () {
{
...connectionInfo,
favorite: { name: 'example' },
savedConnectionType: 'favorite',
lastUsed: new Date(),
},
logger,
Expand Down

0 comments on commit a192470

Please sign in to comment.