Skip to content

Commit acea06c

Browse files
committed
test: monitor commands
1 parent 6cbbb7d commit acea06c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/crud/find_and_modify.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('Collection (#findOneAnd...)', function () {
6464
let started: CommandStartedEvent[] = [];
6565

6666
beforeEach(async function () {
67-
client = this.configuration.newClient({}, { maxPoolSize: 1 });
67+
client = this.configuration.newClient({}, { maxPoolSize: 1, monitorCommands: true });
6868
client.on('commandStarted', function (event) {
6969
if (event.commandName === 'findAndModify') started.push(event);
7070
});

0 commit comments

Comments
 (0)