Skip to content

Commit 3aa469e

Browse files
committed
refactor: removing comment
1 parent 1bdb1f7 commit 3aa469e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/__resources__/testHelpers/standardDtoTests.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { set, unset } from 'lodash'
22

33
import { faker } from '@faker-js/faker'
44

5-
// NestJs Dto validation test helper. requestFactory is an Api call using supertest or other similar tool.
5+
// requestFactory is an Api call using supertest or other similar tool.
66

77
export function standardDtoTests(testParams: any, dataFactory: any, requestFactory: any, dataFactoryParams?: any, status?: any) {
88
let requestData: any
@@ -111,8 +111,8 @@ export function standardDtoTests(testParams: any, dataFactory: any, requestFacto
111111
if (testParams['IsNotEmptyObject']) {
112112
test.each(testParams['IsNotEmptyObject'])(`should return **Bad Request** if param is an empty object (%p)`, async (p) => {
113113
set(requestData, p, {})
114-
115-
// The message cant be guessed because of nested objects validation. In any case, it will return bad request.
114+
115+
// The message cant be guessed because of nested objects validation. In any case, it will return bad request.
116116
const { status } = await execSut()
117117
expect(status).toBe(400)
118118
})

0 commit comments

Comments
 (0)