Skip to content

Instantly share code, notes, and snippets.

View liannoi's full-sized avatar

Maksym Liannoi liannoi

View GitHub Profile
@liannoi
liannoi / array-buffer.js
Created October 27, 2022 18:21
Feature Request for Pact Foundation (pact-js)
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: {