Skip to content

Commit

Permalink
test: fix typo in client encryption tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Dec 4, 2019
1 parent 0b14e3e commit 2935f32
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bindings/node/test/clientEncryption.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ describe('ClientEncryption', function() {
let client;

function setup() {
if (requirements.SKIP_LIVE_TESTS) {
this.test.skip();
return;
}

client = new MongoClient('mongodb://localhost:27017/test', { useNewUrlParser: true });
return client.connect().then(() =>
client
Expand Down Expand Up @@ -67,6 +62,11 @@ describe('ClientEncryption', function() {
});

beforeEach(function() {
if (requirements.SKIP_LIVE_TESTS) {
this.test.skip();
return;
}

return setup();
});

Expand Down

0 comments on commit 2935f32

Please sign in to comment.