jstests/aggregation/sources/merge/merge_to_referenced_collection.js
// Function used to reset state in between tests.
Function used to reset state in between tests.
Function used to reset state in between tests .
function reset() {
    coll.drop();
    assert.commandWorked(coll.insert({_id: 0, y: 0}));
}
function reset ( ) { coll . drop ( ) ; assert . commandWorked ( coll . insert ( { _id : 0 , y : 0 } ) ) ; }
Function used to reset state in between tests.
Function used to reset state in between tests .
// Seed the collection to ensure each pipeline will actually do something.