Skip to content

Commit 1cfa818

Browse files
committed
removed powertools dev var reset
1 parent 835cba2 commit 1cfa818

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

packages/event-handler/tests/unit/http/errors.test.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
1+
import { describe, expect, it } from 'vitest';
22
import {
33
BadRequestError,
44
ForbiddenError,
@@ -275,14 +275,6 @@ describe('HTTP Error Classes', () => {
275275
});
276276

277277
describe('ResponseValidationError', () => {
278-
beforeEach(() => {
279-
delete process.env.POWERTOOLS_DEV;
280-
});
281-
282-
afterEach(() => {
283-
delete process.env.POWERTOOLS_DEV;
284-
});
285-
286278
it('creates error with correct statusCode', () => {
287279
const error = new ResponseValidationError(
288280
'Validation failed for response body'

0 commit comments

Comments
 (0)