GitHub
03/31/2023, 1:11 PM18
Issue Checklist
Please confirm the following:
☑︎ I have upgraded to the latest
☑︎ I have the read the FAQs in the Readme
☑︎ I have triple checked, that there are no unhandled promises in my code and have read the section on intermittent test failures
☑︎ I have set my log level to debug and attached a log file showing the complete request/response cycle
☑︎ For bonus points and virtual high fives, I have created a reproduceable git repository (see below) to illustrate the problem
Expected behaviour
correct type fot log property
Actual behaviour
log doesn't exist
Steps to reproduce
export const provider = new PactV3({
consumer: 'gpb-expert-consumer',
provider: 'gpb-expert-provider',
logLevel: 'info',
log: path.resolve(process.cwd(), 'logs', 'pact.log'),
dir: path.resolve(process.cwd(), 'pacts'),
spec: SpecificationVersion.SPECIFICATION_VERSION_V2,
});
Relevan
Screenshot 2023-03-31 at 16 09 37▾
GitHub
03/31/2023, 11:57 PM