Skip to content

Commit d907dc2

Browse files
committed
1 parent 0b5803b commit d907dc2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/docs/transactions.test.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ describe('transactions', function() {
1111
let _skipped = false;
1212

1313
before(function() {
14-
db = start({ replicaSet: 'rs' });
14+
if (!process.env.REPLICA_SET) {
15+
_skipped = true;
16+
this.skip();
17+
}
18+
db = start({ replicaSet: process.env.REPLICA_SET });
1519

1620
return db.
1721
then(() => {

0 commit comments

Comments
 (0)