Zied Bejaoui
04/08/2024, 9:32 AM"@type": "CreateTransfer",
. When defining the expected body in consumer test, I am not sure which syntax I should use for attribute @type as simply adding @ does not work.
const transferBodyExpectation = {
id: like("***************"),
from: like("***************"),
to: [like("***************")],
@type: like("CreateTransfer"), // TODO fix the syntax for all attributes starting with @
......
Matt (pactflow.io / pact-js / pact-go)
Zied Bejaoui
04/08/2024, 9:57 AM