This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test("should throw an error for invalid id", async () => { | |
const badRequestData = { | |
error: { | |
code: "validationError", | |
message: "Validation error(s) has occurred", | |
details: [], | |
}, | |
}; | |
const badRequestResponse = somethingLike({ | |
error: { |