Skip to content

Commit de84781

Browse files
committed
chore: update method name in e2e tests
1 parent 95a6bb6 commit de84781

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: packages/logger/tests/e2e/sampleRate.decorator.test.FunctionCode.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ class Lambda implements LambdaInterface {
2121
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
2222
// @ts-ignore
2323
public async handler(event: APIGatewayProxyEvent, context: Context): Promise<{requestId: string}> {
24-
this.dummyMethod();
24+
this.printLogInAllLevels();
2525

2626
return {
2727
requestId: context.awsRequestId,
2828
};
2929
}
3030

31-
private dummyMethod() : void {
31+
private printLogInAllLevels() : void {
3232
logger.debug(this.logMsg);
3333
logger.info(this.logMsg);
3434
logger.warn(this.logMsg);

0 commit comments

Comments
 (0)