Skip to content

Commit c50cb37

Browse files
vkarpov15hasezoey
andauthored
Update test/aggregate.test.js
Co-authored-by: hasezoey <hasezoey@gmail.com>
1 parent 6e0a70e commit c50cb37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/aggregate.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ describe('aggregate: ', function() {
13231323
);
13241324

13251325
const cursor = Test.aggregate([{ $limit: 1 }], { allowed: false }).cursor();
1326-
assert.rejects(
1326+
await assert.rejects(
13271327
async() => {
13281328
await cursor.next();
13291329
},

0 commit comments

Comments
 (0)