API Reference | fast-check | Property based testing framework
    Preparing search index...

    Interface WebUrlConstraints

    Constraints to be applied on webUrl

    Since 1.14.0

    interface WebUrlConstraints {
        authoritySettings?: WebAuthorityConstraints;
        size?: Size | RelativeSize;
        validSchemes?: string[];
        withFragments?: boolean;
        withQueryParameters?: boolean;
    }
    Index

    Properties

    authoritySettings?: WebAuthorityConstraints

    Settings for webAuthority

    {}
    

    Since 1.14.0

    size?: Size | RelativeSize

    Define how large the generated values should be (at max)

    Since 2.22.0

    validSchemes?: string[]

    Enforce specific schemes, eg.: http, https

    ['http', 'https']
    

    Since 1.14.0

    withFragments?: boolean

    Enable fragments in the generated url

    false
    

    Since 1.14.0

    withQueryParameters?: boolean

    Enable query parameters in the generated url

    false
    

    Since 1.14.0