Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Wolff committed Oct 9, 2019
1 parent 9b90fde commit c14b33f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-plugin-postgres/test/pg.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('[email protected]', () => {
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
Expand Down Expand Up @@ -94,7 +94,7 @@ describe('[email protected]', () => {
});
});

beforeEach(function () {
beforeEach(function() {
plugin.enable(pg, tracer, logger);
});

Expand Down

0 comments on commit c14b33f

Please sign in to comment.