Skip to content

Commit 9f20c43

Browse files
committed
chore(logger): use generateUniqueName function
1 parent d4bdf1b commit 9f20c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/logger/tests/e2e/basicFeatures.middy.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const STACK_OUTPUT_LOG_GROUP = 'LogGroupName';
2727

2828
const uuid = randomUUID();
2929
const stackName = generateUniqueName(uuid, runtime, 'BasicFeatures-Middy');
30-
const functionName = `LoggerE2E-${runtime}-BasicFeatures-Middy-${uuid}`.substring(0, 64);
30+
const functionName = generateUniqueName(uuid, runtime, 'BasicFeatures-Middy');
3131
const lambdaFunctionCodeFile = 'basicFeatures.middy.test.FunctionCode.ts';
3232

3333
// Text to be used by Logger in the Lambda function

0 commit comments

Comments
 (0)