Skip to content

Commit 6e0a70e

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

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
@@ -1315,7 +1315,7 @@ describe('aggregate: ', function() {
13151315

13161316
await Test.create({ name: 'test1' });
13171317

1318-
assert.rejects(
1318+
await assert.rejects(
13191319
async() => {
13201320
await Test.aggregate([{ $limit: 1 }], { allowed: false }).exec();
13211321
},

0 commit comments

Comments
 (0)