Hello,
The project documentation and examples seems to be outdated and misleading.
For example:
await driver.execute("interceptor: startListening", [{
config: {
include : {
url: "**/reqres.in/**",
}
}
}]);
Should be:
await driver.execute("interceptor: startListening", {
config: {
include : [{
url: "**/reqres.in/**",
}]
}
});
- the object containing
config should not be in an array (this mistake is present in all the examples)
- the
include and exclude content need to be ane array because in api-sniffer.ts, you do this.config.include.some
I recommand you to update it to help people to use your great plugin 🙂
Best regards,
Paul
Hello,
The project documentation and examples seems to be outdated and misleading.
For example:
Should be:
configshould not be in an array (this mistake is present in all the examples)includeandexcludecontent need to be ane array because in api-sniffer.ts, you dothis.config.include.someI recommand you to update it to help people to use your great plugin 🙂
Best regards,
Paul