Skip to content

Commit

Permalink
chore: try and make the test aggregation more complicated so it doesn…
Browse files Browse the repository at this point in the history
…'t drop 'stages' from the explain plan MONGOSH-1635 (#1725)

* Try and make the test aggregation more complicated so it doesn't drop 'stages' from the explain plan

* Update packages/shell-api/src/integration.spec.ts

Co-authored-by: Anna Henningsen <[email protected]>

---------

Co-authored-by: Anna Henningsen <[email protected]>
  • Loading branch information
lerouxb and addaleax authored Nov 8, 2023
1 parent c6a2356 commit b780455
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/shell-api/src/integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,7 @@ describe('Shell API (integration)', function () {

const cursor = await collection.aggregate(
[
{ $collStats: {} },
{
$count: 'count',
},
Expand Down

0 comments on commit b780455

Please sign in to comment.