Skip to content

Commit 8ce9f9e

Browse files
committed
test: update options property
1 parent a9fd3c4 commit 8ce9f9e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/integration/change-streams/change_stream.test.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2018,15 +2018,15 @@ describe('ChangeStream resumability', function () {
20182018
} as FailPoint);
20192019

20202020
expect(changeStream.cursor)
2021-
.to.have.property('options')
2021+
.to.have.property('changeStreamCursorOptions')
20222022
.that.containSubset(changeStreamResumeOptions);
20232023

20242024
await collection.insertOne({ name: 'bailey' });
20252025

20262026
await changeStream.next();
20272027

20282028
expect(changeStream.cursor)
2029-
.to.have.property('options')
2029+
.to.have.property('changeStreamCursorOptions')
20302030
.that.containSubset(changeStreamResumeOptions);
20312031
}
20322032
);
@@ -2182,15 +2182,15 @@ describe('ChangeStream resumability', function () {
21822182
} as FailPoint);
21832183

21842184
expect(changeStream.cursor)
2185-
.to.have.property('options')
2185+
.to.have.property('changeStreamCursorOptions')
21862186
.that.containSubset(changeStreamResumeOptions);
21872187

21882188
await collection.insertOne({ name: 'bailey' });
21892189

21902190
await changeStream.hasNext();
21912191

21922192
expect(changeStream.cursor)
2193-
.to.have.property('options')
2193+
.to.have.property('changeStreamCursorOptions')
21942194
.that.containSubset(changeStreamResumeOptions);
21952195
}
21962196
);
@@ -2360,15 +2360,15 @@ describe('ChangeStream resumability', function () {
23602360
} as FailPoint);
23612361

23622362
expect(changeStream.cursor)
2363-
.to.have.property('options')
2363+
.to.have.property('changeStreamCursorOptions')
23642364
.that.containSubset(changeStreamResumeOptions);
23652365

23662366
await collection.insertOne({ name: 'bailey' });
23672367

23682368
await changeStream.tryNext();
23692369

23702370
expect(changeStream.cursor)
2371-
.to.have.property('options')
2371+
.to.have.property('changeStreamCursorOptions')
23722372
.that.containSubset(changeStreamResumeOptions);
23732373
}
23742374
);
@@ -2504,14 +2504,14 @@ describe('ChangeStream resumability', function () {
25042504
} as FailPoint);
25052505

25062506
expect(changeStream.cursor)
2507-
.to.have.property('options')
2507+
.to.have.property('changeStreamCursorOptions')
25082508
.that.containSubset(changeStreamResumeOptions);
25092509

25102510
await collection.insertOne({ city: 'New York City' });
25112511
await changeStreamIterator.next();
25122512

25132513
expect(changeStream.cursor)
2514-
.to.have.property('options')
2514+
.to.have.property('changeStreamCursorOptions')
25152515
.that.containSubset(changeStreamResumeOptions);
25162516
}
25172517
);
@@ -2643,7 +2643,7 @@ describe('ChangeStream resumability', function () {
26432643
} as FailPoint);
26442644

26452645
expect(changeStream.cursor)
2646-
.to.have.property('options')
2646+
.to.have.property('changeStreamCursorOptions')
26472647
.that.containSubset(changeStreamResumeOptions);
26482648

26492649
const changes = once(changeStream, 'change');
@@ -2654,7 +2654,7 @@ describe('ChangeStream resumability', function () {
26542654
await changes;
26552655

26562656
expect(changeStream.cursor)
2657-
.to.have.property('options')
2657+
.to.have.property('changeStreamCursorOptions')
26582658
.that.containSubset(changeStreamResumeOptions);
26592659
}
26602660
);

0 commit comments

Comments
 (0)