Skip to content

Commit

Permalink
test: try with push event
Browse files Browse the repository at this point in the history
  • Loading branch information
alenakhineika committed Dec 6, 2023
1 parent a659502 commit 80ecc7c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/tools/unified-spec-runner/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,16 +288,13 @@ export class UnifiedMongoClient extends MongoClient {

// NOTE: pushCommandEvent must be an arrow function
pushCommandEvent: (e: CommandEvent) => void = e => {
console.log('e----------------------');
console.log(e);
console.log('----------------------');
if (
(this.observeSensitiveCommands === true || !this.isSensitiveCommand(e)) &&
!this.isIgnored(e)
) {
this.commandEvents.push(e);
this.observedEventEmitter.emit('observedEvent');
}
this.commandEvents.push(e);
};

// NOTE: pushCmapEvent must be an arrow function
Expand Down

0 comments on commit 80ecc7c

Please sign in to comment.