zap-cdk
    Preparing search index...

    Interface ISpiderTest

    Interface representing a test configuration for the spider. ISpiderTest

    interface ISpiderTest {
        name?: string;
        onFail: "warn" | "error" | "info";
        operator: "==" | "!=" | ">=" | ">" | "<" | "<=";
        statistic: string;
        type: "stats";
        value: number;
    }
    Index

    Properties

    name?: string

    Name of the test, default: statistic + operator + value.

    onFail: "warn" | "error" | "info"

    One of 'warn', 'error', 'info', mandatory.

    operator: "==" | "!=" | ">=" | ">" | "<" | "<="

    Operator used for testing.

    statistic: string

    Name of an integer / long statistic.

    type: "stats"

    Type of test, only 'stats' is supported for now.

    value: number

    Change this to the number of URLs you expect to find.