Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Commit 68bf99a

Browse files
committed
useMongoClient option on mongoose connect
1 parent f798aff commit 68bf99a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/backends/mongoose_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require('../utils/promise');
1111

1212
mongoose.Promise = global.Promise;
1313

14-
mongoose.connect('mongodb://localhost/test');
14+
mongoose.connect('mongodb://localhost/test', { useMongoClient: true });
1515

1616
var userSchema = new Schema({
1717
name: String,

0 commit comments

Comments
 (0)