Skip to content

Commit bcf8bde

Browse files
committed
fixup: types in test file
1 parent f6fcb76 commit bcf8bde

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/service-provider-node-driver/src/node-driver-service-provider.spec.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,13 @@ describe('NodeDriverServiceProvider', function () {
422422
describe('#replaceOne', function () {
423423
const filter = { name: 'Aphex Twin' };
424424
const replacement = { name: 'Richard James' };
425-
const commandResult = { result: { n: 1, ok: 1 } };
425+
const commandResult = {
426+
acknowledged: true,
427+
matchedCount: 1,
428+
modifiedCount: 1,
429+
upsertedCount: 0,
430+
upsertedId: null,
431+
};
426432

427433
beforeEach(function () {
428434
collectionStub = stubInterface<Collection>();

0 commit comments

Comments
 (0)