Skip to content

Commit d2e5a62

Browse files
committed
Lint
1 parent d4a52e5 commit d2e5a62

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

plugins/node/opentelemetry-instrumentation-pg/test/pg-pool.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ const CONFIG = {
6969
: 54320,
7070
maxClient: 1,
7171
idleTimeoutMillis: 30000,
72-
7372
};
7473

7574
const DEFAULT_PGPOOL_ATTRIBUTES = {

plugins/node/opentelemetry-instrumentation-pg/test/pg.esm.test.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright The OpenTelemetry Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
import * as assert from 'assert';
217
import * as testUtils from '@opentelemetry/contrib-test-utils';
318

@@ -38,7 +53,7 @@ describe('pg ESM usage', () => {
3853
'--experimental-loader=@opentelemetry/instrumentation/hook.mjs',
3954
NODE_NO_WARNINGS: '1',
4055
},
41-
checkResult: (err) => {
56+
checkResult: err => {
4257
assert.ifError(err);
4358
},
4459
checkCollector: (collector: testUtils.TestCollector) => {

0 commit comments

Comments
 (0)