Hi All, what is the right way to do this; for exa...
# pact-js
m
Hi All, what is the right way to do this; for example if we have in my API these calls: getAccounts postAccounts getList postLists getCustomers postCustomers doSomethingWithCustomers do we need separate contracts for each module? (Accounts, Lists, Customers, Orders, etc) or all of them should be in one contract
t
They should all be in one contract file. However, you can put them in separate tests if you like
👍 1
☝️ 1
Make sure you delete the contract file before each run