Skip to content

Commit 5938195

Browse files
committed
Requiring only partial problem details in expectError helper for API and Integration tests
1 parent 97f5ddf commit 5938195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/emmett-expressjs/src/testing/apiSpecification.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const expectResponse =
6262

6363
export const expectError = (
6464
errorCode: number,
65-
problemDetails?: ProblemDocument,
65+
problemDetails?: Partial<ProblemDocument>,
6666
) =>
6767
expectResponse(
6868
errorCode,

0 commit comments

Comments
 (0)