Skip to content

Commit f8f9145

Browse files
fix lint
1 parent 07d6cb1 commit f8f9145

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

test/integration/client-side-operations-timeout/client_side_operations_timeout.unit.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,20 @@ describe('CSOT spec unit tests', function () {
9191
/* eslint-disable @typescript-eslint/no-empty-function */
9292
context.skip(
9393
'If a new connection is required to execute an operation, min(remaining computedServerSelectionTimeout, connectTimeoutMS) should apply to socket establishment.',
94-
() => { }
94+
() => {}
9595
).skipReason =
9696
'TODO(DRIVERS-2347): Requires this ticket to be implemented before we can assert on connection CSOT behaviour';
9797

9898
context(
9999
'For drivers that have control over OCSP behavior, min(remaining computedServerSelectionTimeout, 5 seconds) should apply to HTTP requests against OCSP responders.',
100-
() => { }
100+
() => {}
101101
);
102102
});
103103

104104
context.skip('Socket timeouts', function () {
105105
context(
106106
'If timeoutMS is unset, operations fail after two non-consecutive socket timeouts.',
107-
() => { }
107+
() => {}
108108
);
109109
}).skipReason =
110110
'TODO(NODE-6518): Add CSOT support for socket read/write at the connection layer for CRUD APIs';
@@ -113,7 +113,7 @@ describe('CSOT spec unit tests', function () {
113113
describe('KMS requests', function () {
114114
const stateMachine = new StateMachine({} as any);
115115
const request = {
116-
addResponse: _response => { },
116+
addResponse: _response => {},
117117
status: {
118118
type: 1,
119119
code: 1,
@@ -127,7 +127,7 @@ describe('CSOT spec unit tests', function () {
127127

128128
context('when StateMachine.kmsRequest() is passed a `CSOTimeoutContext`', function () {
129129
beforeEach(async function () {
130-
sinon.stub(TLSSocket.prototype, 'connect').callsFake(function (..._args) { });
130+
sinon.stub(TLSSocket.prototype, 'connect').callsFake(function (..._args) {});
131131
});
132132

133133
afterEach(async function () {
@@ -250,7 +250,7 @@ describe('CSOT spec unit tests', function () {
250250
context.skip('Background Connection Pooling', function () {
251251
context(
252252
'When doing minPoolSize maintenance, connectTimeoutMS is used as the timeout for socket establishment.',
253-
() => { }
253+
() => {}
254254
);
255255
}).skipReason = 'TODO(NODE-6091): Implement CSOT logic for Background Connection Pooling';
256256
/* eslint-enable @typescript-eslint/no-empty-function */

test/tools/runner/config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ export class TestConfiguration {
116116
replicaSet: url.searchParams.get('replicaSet'),
117117
proxyURIParams: url.searchParams.get('proxyHost')
118118
? {
119-
proxyHost: url.searchParams.get('proxyHost'),
120-
proxyPort: Number(url.searchParams.get('proxyPort')),
121-
proxyUsername: url.searchParams.get('proxyUsername'),
122-
proxyPassword: url.searchParams.get('proxyPassword')
123-
}
119+
proxyHost: url.searchParams.get('proxyHost'),
120+
proxyPort: Number(url.searchParams.get('proxyPort')),
121+
proxyUsername: url.searchParams.get('proxyUsername'),
122+
proxyPassword: url.searchParams.get('proxyPassword')
123+
}
124124
: undefined
125125
};
126126
if (url.username) {

0 commit comments

Comments
 (0)