We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4945285 commit 0e640feCopy full SHA for 0e640fe
1 file changed
test/integration/transactions/transactions.prose.test.ts
@@ -61,7 +61,7 @@ describe('Transactions Spec Prose', function () {
61
});
62
63
// keep finding until we get a result, otherwise the test will timeout.
64
- while ((await collection.findOne({ _id })) == null);
+ expect(await collection.findOne({ _id })).to.have.property('n', 1);
65
66
const insertStarted = started.find(ev => ev.commandName === 'insert');
67
expect(insertStarted).to.not.have.nested.property('command.writeConcern');
0 commit comments