Skip to content

Commit b8ad946

Browse files
committed
chore: suppress sonarqube CDK construct warnings
1 parent 4e65e28 commit b8ad946

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

packages/data-masking/tests/e2e/dataMasking.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { join } from 'node:path';
2-
import { fromUtf8, toUtf8 } from '@smithy/util-utf8';
3-
import { InvokeCommand, LambdaClient } from '@aws-sdk/client-lambda';
42
import { TestStack } from '@aws-lambda-powertools/testing-utils';
53
import { TestNodejsFunction } from '@aws-lambda-powertools/testing-utils/resources/lambda';
4+
import { InvokeCommand, LambdaClient } from '@aws-sdk/client-lambda';
5+
import { fromUtf8, toUtf8 } from '@smithy/util-utf8';
66
import { Key } from 'aws-cdk-lib/aws-kms';
77
import { afterAll, beforeAll, describe, expect, it } from 'vitest';
88
import { RESOURCE_NAME_PREFIX } from './constants.js';
@@ -42,7 +42,7 @@ describe('DataMasking E2E tests', () => {
4242
});
4343

4444
let functionNameErase: string;
45-
new TestNodejsFunction(
45+
void new TestNodejsFunction(
4646
testStack,
4747
{
4848
entry: lambdaFunctionCodeFilePath,
@@ -52,7 +52,7 @@ describe('DataMasking E2E tests', () => {
5252
);
5353

5454
let functionNameFieldEncrypt: string;
55-
new TestNodejsFunction(
55+
void new TestNodejsFunction(
5656
testStack,
5757
{
5858
entry: lambdaFunctionCodeFilePath,
@@ -65,7 +65,7 @@ describe('DataMasking E2E tests', () => {
6565
);
6666

6767
let functionNameFullEncrypt: string;
68-
new TestNodejsFunction(
68+
void new TestNodejsFunction(
6969
testStack,
7070
{
7171
entry: lambdaFunctionCodeFilePath,

0 commit comments

Comments
 (0)