File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
plugins/node/opentelemetry-instrumentation-pg/test Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ const CONFIG = {
6969 : 54320 ,
7070 maxClient : 1 ,
7171 idleTimeoutMillis : 30000 ,
72-
7372} ;
7473
7574const DEFAULT_PGPOOL_ATTRIBUTES = {
Original file line number Diff line number Diff line change 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+ */
116import * as assert from 'assert' ;
217import * 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 ) => {
You can’t perform that action at this time.
0 commit comments