Skip to content

Documentation and examples not up-to-date #66

@P-Courteille

Description

@P-Courteille

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions