Skip to content

Commit 1241ab0

Browse files
committed
chore: remove unused hoist
1 parent 4f36561 commit 1241ab0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { TestDynamodbTable } from '@aws-lambda-powertools/testing-utils/resource
44
import { TestNodejsFunction } from '@aws-lambda-powertools/testing-utils/resources/lambda';
55
import type { EnrichedXRayTraceDocumentParsed } from '@aws-lambda-powertools/testing-utils/types';
66
import { getTraces } from '@aws-lambda-powertools/testing-utils/utils/xray-traces';
7-
import { afterAll, beforeAll, describe, expect, it, vi } from 'vitest';
7+
import { afterAll, beforeAll, describe, expect, it } from 'vitest';
88
import { invokeAllTestCases } from '../helpers/invokeAllTests.js';
99
import {
1010
EXPECTED_ANNOTATION_KEY as expectedCustomAnnotationKey,
@@ -17,10 +17,6 @@ import {
1717
RESOURCE_NAME_PREFIX,
1818
} from './constants.js';
1919

20-
vi.hoisted(() => {
21-
process.env.AWS_PROFILE = 'aamorosi-Admin';
22-
});
23-
2420
describe('Tracer E2E tests, decorator instrumentation', () => {
2521
const testStack = new TestStack({
2622
stackNameProps: {

0 commit comments

Comments
 (0)