Skip to content

Commit

Permalink
chore(deps): update dependency expect to v29 (open-telemetry#1233)
Browse files Browse the repository at this point in the history
* chore: upgrade expect to v29.2.0

* fix: commit forgotten file
  • Loading branch information
blumamir authored Nov 24, 2022
1 parent f865143 commit fef44f4
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion packages/opentelemetry-propagation-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@types/mocha": "^9.1.1",
"@types/node": "18.11.7",
"@types/sinon": "^10.0.11",
"expect": "27.4.2",
"expect": "29.2.0",
"gts": "3.1.0",
"mocha": "7.2.0",
"nyc": "15.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
resetMemoryExporter,
} from '@opentelemetry/contrib-test-utils';
import { ROOT_CONTEXT, trace } from '@opentelemetry/api';
import * as expect from 'expect';
import { expect } from 'expect';

registerInstrumentationTestingProvider();

Expand Down
2 changes: 1 addition & 1 deletion plugins/node/instrumentation-amqplib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@types/sinon": "10.0.2",
"@types/node": "18.11.7",
"amqplib": "0.8.0",
"expect": "27.4.2",
"expect": "29.2.0",
"lodash": "4.17.21",
"mocha": "7.2.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/
import 'mocha';
import * as expect from 'expect';
import { expect } from 'expect';
import { AmqplibInstrumentation } from '../src';
import {
getTestSpans,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/
import 'mocha';
import * as expect from 'expect';
import { expect } from 'expect';
import { shouldTest } from './utils';
import {
censoredUrl,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/
import 'mocha';
import * as expect from 'expect';
import { expect } from 'expect';
import * as sinon from 'sinon';
import * as lodash from 'lodash';
import {
Expand Down
2 changes: 1 addition & 1 deletion plugins/node/instrumentation-amqplib/test/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/
import 'mocha';
import * as expect from 'expect';
import { expect } from 'expect';
import {
getConnectionAttributesFromServer,
getConnectionAttributesFromUrl,
Expand Down
2 changes: 1 addition & 1 deletion plugins/node/instrumentation-amqplib/test/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
import type * as amqp from 'amqplib';
import type * as amqpCallback from 'amqplib/callback_api';
import * as expect from 'expect';
import { expect } from 'expect';

export const asyncConfirmSend = (
confirmChannel: amqp.ConfirmChannel | amqpCallback.ConfirmChannel,
Expand Down
2 changes: 1 addition & 1 deletion plugins/node/instrumentation-lru-memoizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@types/lru-cache": "7.10.9",
"@types/mocha": "8.2.3",
"@types/node": "18.11.7",
"expect": "25.5.0",
"expect": "29.2.0",
"gts": "3.1.0",
"lru-memoizer": "2.1.4",
"mocha": "7.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
import LruMemoizerInstrumentation from '../src';
import { trace, context } from '@opentelemetry/api';
import * as expect from 'expect';
import { expect } from 'expect';

import { registerInstrumentationTesting } from '@opentelemetry/contrib-test-utils';

Expand Down
2 changes: 1 addition & 1 deletion plugins/node/instrumentation-mongoose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@opentelemetry/sdk-trace-base": "^1.8.0",
"@types/mocha": "8.2.3",
"@types/node": "18.11.7",
"expect": "27.4.2",
"expect": "29.2.0",
"gts": "3.1.0",
"mocha": "7.2.0",
"mongoose": "6.5.2",
Expand Down
2 changes: 1 addition & 1 deletion plugins/node/instrumentation-mongoose/test/asserts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as expect from 'expect';
import { expect } from 'expect';
import { ReadableSpan } from '@opentelemetry/sdk-trace-base';
import { SemanticAttributes } from '@opentelemetry/semantic-conventions';
import { SpanStatusCode } from '@opentelemetry/api';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/
import 'mocha';
import * as expect from 'expect';
import { expect } from 'expect';
import { context, ROOT_CONTEXT } from '@opentelemetry/api';
import { SemanticAttributes } from '@opentelemetry/semantic-conventions';
import { MongooseInstrumentation } from '../src';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@types/sinon": "10.0.6",
"aws-sdk": "2.1008.0",
"eslint": "8.7.0",
"expect": "27.4.2",
"expect": "29.2.0",
"gts": "3.1.0",
"mocha": "7.2.0",
"nock": "13.2.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import * as expect from 'expect';
import { expect } from 'expect';
import {
MAX_MESSAGE_ATTRIBUTES,
contextSetter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { ReadableSpan } from '@opentelemetry/sdk-trace-base';
import { SpanStatusCode, Span, SpanKind } from '@opentelemetry/api';
import { AttributeNames } from '../src/enums';
import { mockV2AwsSend } from './testing-utils';
import * as expect from 'expect';
import { expect } from 'expect';
import { SemanticAttributes } from '@opentelemetry/semantic-conventions';

describe('instrumentation-aws-sdk-v2', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import {
SemanticAttributes,
} from '@opentelemetry/semantic-conventions';
import { AttributeNames } from '../src/enums';
import * as expect from 'expect';
import { expect } from 'expect';
import * as fs from 'fs';
import * as nock from 'nock';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {
DbSystemValues,
SemanticAttributes,
} from '@opentelemetry/semantic-conventions';
import * as expect from 'expect';
import { expect } from 'expect';
import type { ConsumedCapacity as ConsumedCapacityV2 } from 'aws-sdk/clients/dynamodb';
import type { ConsumedCapacity as ConsumedCapacityV3 } from '@aws-sdk/client-dynamodb';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { SpanKind } from '@opentelemetry/api';
import { Lambda, InvocationType } from '@aws-sdk/client-lambda';
import { ClientRequest } from 'http';
import * as nock from 'nock';
import * as expect from 'expect';
import { expect } from 'expect';

process.env.AWS_ACCESS_KEY_ID = 'testing';
process.env.AWS_SECRET_ACCESS_KEY = 'testing';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import * as fs from 'fs';
import * as nock from 'nock';

import { mockV2AwsSend } from './testing-utils';
import * as expect from 'expect';
import { expect } from 'expect';
import { ReadableSpan } from '@opentelemetry/sdk-trace-base';
import * as sinon from 'sinon';
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
import { ReadableSpan } from '@opentelemetry/sdk-trace-base';
import { mockV2AwsSend } from './testing-utils';
import { Message } from 'aws-sdk/clients/sqs';
import * as expect from 'expect';
import { expect } from 'expect';
import * as sinon from 'sinon';
import * as messageAttributes from '../src/services/MessageAttributes';
import { AttributeNames } from '../src/enums';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import { context } from '@opentelemetry/api';
import { isTracingSuppressed } from '@opentelemetry/core';
import { getInstrumentation } from '@opentelemetry/contrib-test-utils';
import * as expect from 'expect';
import { expect } from 'expect';
import * as AWS from 'aws-sdk';

// we want to mock the request object and trigger events on it's events emitter.
Expand Down

0 comments on commit fef44f4

Please sign in to comment.