Skip to content

Commit 1be3a53

Browse files
ci: apply automated fixes
1 parent ef90225 commit 1be3a53

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/utils/body.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,12 @@ describe('Parse Body Util', () => {
198198

199199
const result = await parseBody(req, { dot: true })
200200
expect(result).toHaveProperty('a')
201-
expect(Object.getOwnPropertyDescriptor((result as Record<string, Record<string, string>>).a, '__proto__')?.value).toBe('value')
201+
expect(
202+
Object.getOwnPropertyDescriptor(
203+
(result as Record<string, Record<string, string>>).a,
204+
'__proto__'
205+
)?.value
206+
).toBe('value')
202207
})
203208

204209
it('should parse key containing __proto__ as a substring normally', async () => {

0 commit comments

Comments
 (0)