Skip to content

Commit 2935f32

Browse files
committed
test: fix typo in client encryption tests
1 parent 0b14e3e commit 2935f32

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bindings/node/test/clientEncryption.test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ describe('ClientEncryption', function() {
2424
let client;
2525

2626
function setup() {
27-
if (requirements.SKIP_LIVE_TESTS) {
28-
this.test.skip();
29-
return;
30-
}
31-
3227
client = new MongoClient('mongodb://localhost:27017/test', { useNewUrlParser: true });
3328
return client.connect().then(() =>
3429
client
@@ -67,6 +62,11 @@ describe('ClientEncryption', function() {
6762
});
6863

6964
beforeEach(function() {
65+
if (requirements.SKIP_LIVE_TESTS) {
66+
this.test.skip();
67+
return;
68+
}
69+
7070
return setup();
7171
});
7272

0 commit comments

Comments
 (0)