Use assertSameDocument to check change stream results
This also removes the hard-coded database and collection names, which are subject to change based on the test suite configuration and getCollectionName() implementation.
Showing
Please
register
or
sign in
to comment