diff --git a/packages/opentelemetry-plugin-postgres/test/assertionUtils.ts b/packages/opentelemetry-plugin-postgres/test/assertionUtils.ts index 7fb08868f68..0533d1093f1 100644 --- a/packages/opentelemetry-plugin-postgres/test/assertionUtils.ts +++ b/packages/opentelemetry-plugin-postgres/test/assertionUtils.ts @@ -14,7 +14,13 @@ * limitations under the License. */ -import { SpanKind, Attributes, Event, Span, TimedEvent } from '@opentelemetry/types'; +import { + SpanKind, + Attributes, + Event, + Span, + TimedEvent, +} from '@opentelemetry/types'; import * as assert from 'assert'; import { PostgresPlugin } from '../src'; import { ReadableSpan } from '@opentelemetry/tracing'; diff --git a/packages/opentelemetry-plugin-postgres/test/pg.test.ts b/packages/opentelemetry-plugin-postgres/test/pg.test.ts index d84cc0ee421..c8a71ba02ef 100644 --- a/packages/opentelemetry-plugin-postgres/test/pg.test.ts +++ b/packages/opentelemetry-plugin-postgres/test/pg.test.ts @@ -61,7 +61,7 @@ describe('pg@7.x', () => { const testPostgresLocally = process.env.TEST_POSTGRES_LOCAL; // For local: spins up local postgres db via docker const shouldTest = testPostgres || testPostgresLocally; // Skips these tests if false (default) - before(function (ready) { + before(function(ready) { if (!shouldTest) { // this.skip() workaround // https://github.com/mochajs/mocha/issues/2683#issuecomment-375629901 @@ -94,7 +94,7 @@ describe('pg@7.x', () => { }); }); - beforeEach(function () { + beforeEach(function() { plugin.enable(pg, tracer, logger); });