Skip to content

Commit 95ebb1e

Browse files
committed
chore: lint + debug
1 parent c16f98c commit 95ebb1e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/cursor/run_command_cursor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { Db } from '../db';
44
import { MongoAPIError, MongoRuntimeError } from '../error';
55
import { executeOperation } from '../operations/execute_operation';
66
import { GetMoreOperation } from '../operations/get_more';
7-
import { RunCommandOperation, RunCursorCommandOperation } from '../operations/run_command';
7+
import { RunCursorCommandOperation } from '../operations/run_command';
88
import type { ReadConcernLike } from '../read_concern';
99
import type { ReadPreferenceLike } from '../read_preference';
1010
import type { ClientSession } from '../sessions';

src/operations/run_command.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import type { BSONSerializeOptions, Document } from '../bson';
22
import { type Connection } from '../cmap/connection';
3-
import { CursorResponse, MongoDBResponse, type MongoDBResponseConstructor } from '../cmap/wire_protocol/responses';
3+
import {
4+
CursorResponse,
5+
MongoDBResponse,
6+
type MongoDBResponseConstructor
7+
} from '../cmap/wire_protocol/responses';
48
import { type Db } from '../db';
59
import type { ReadPreferenceLike } from '../read_preference';
610
import type { ServerCommandOptions } from '../sdam/server';

test/unit/collection.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ describe('Collection', function () {
2525

2626
server.setMessageHandler(request => {
2727
const doc = request.document;
28+
console.log('doc', doc);
2829

2930
if (isHello(doc)) {
3031
return request.reply(Object.assign({}, HELLO));

0 commit comments

Comments
 (0)