eachLike,
url,
integer,
- regex
+ regex,
+ arrayContaining
} = MatchersV3
describe("Siren Pact test", () => {
"href": url("http://localhost:9000", ["orders", regex("\\d+", "1234")])
}
],
- "actions": [
+ "actions": arrayContaining(
{
"name": "update",
"method": "PUT",
"method": "DELETE",
"href": url("http://localhost:9000", ["orders", regex("\\d+", "1234")])
}
- ]
- }, 2),
+ )
+ }),
links: [
{
rel: [ "self" ],