Skip to content

Commit a264cca

Browse files
committed
chore: format & deps
1 parent b1eff6e commit a264cca

File tree

6 files changed

+67
-28
lines changed

6 files changed

+67
-28
lines changed

package-lock.json

+55-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/idempotency/tests/e2e/idempotentDecorator.test.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1+
/**
2+
* Test idempotency decorator
3+
*
4+
* @group e2e/idempotency/decorator
5+
*/
16
import { createHash } from 'node:crypto';
27
import { join } from 'node:path';
38
import {
49
TestInvocationLogs,
510
TestStack,
611
invokeFunction,
712
} from '@aws-lambda-powertools/testing-utils';
8-
/**
9-
* Test idempotency decorator
10-
*
11-
* @group e2e/idempotency/decorator
12-
*/
1313
import { DynamoDBClient } from '@aws-sdk/client-dynamodb';
1414
import { ScanCommand } from '@aws-sdk/lib-dynamodb';
1515
import { Duration } from 'aws-cdk-lib';

packages/idempotency/tests/e2e/makeHandlerIdempotent.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { createHash } from 'node:crypto';
2-
import { join } from 'node:path';
31
/**
42
* Test makeHandlerIdempotent middleware
53
*
64
* @group e2e/idempotency/makeHandlerIdempotent
75
*/
6+
import { createHash } from 'node:crypto';
7+
import { join } from 'node:path';
88
import {
99
TestInvocationLogs,
1010
TestStack,

packages/idempotency/tests/e2e/makeIdempotent.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { createHash } from 'node:crypto';
2-
import { join } from 'node:path';
31
/**
42
* Test makeIdempotent function
53
*
64
* @group e2e/idempotency/makeIdempotent
75
*/
6+
import { createHash } from 'node:crypto';
7+
import { join } from 'node:path';
88
import {
99
TestInvocationLogs,
1010
TestStack,

packages/tracer/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"devDependencies": {
3030
"@aws-lambda-powertools/testing-utils": "file:../testing",
3131
"@aws-sdk/client-dynamodb": "^3.637.0",
32-
"@aws-sdk/client-xray": "^3.637.0"
32+
"@aws-sdk/client-xray": "^3.637.0",
33+
"aws-sdk": "^2.1687.0"
3334
},
3435
"peerDependencies": {
3536
"@middy/core": "4.x || 5.x"

packages/tracer/tests/e2e/asyncHandler.decorator.test.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
import { join } from 'node:path';
77
import { TestStack } from '@aws-lambda-powertools/testing-utils';
88
import { TestDynamodbTable } from '@aws-lambda-powertools/testing-utils/resources/dynamodb';
9-
import {
10-
getTraces,
11-
getTracesWithoutMainSubsegments,
12-
} from '@aws-lambda-powertools/testing-utils/utils/xray-traces';
9+
import { getTraces } from '@aws-lambda-powertools/testing-utils/utils/xray-traces';
1310
import { invokeAllTestCases } from '../helpers/invokeAllTests.js';
1411
import { TracerTestNodejsFunction } from '../helpers/resources.js';
1512
import {
@@ -135,7 +132,6 @@ describe('Tracer E2E tests, async handler with decorator instantiation', () => {
135132
expectedSegmentsCount: 4,
136133
});
137134

138-
// Assess
139135
// Assess
140136
for (let i = 0; i < invocationCount; i++) {
141137
const isColdStart = i === 0; // First invocation is a cold start

0 commit comments

Comments
 (0)