Comunica
    Preparing search index...

    Interface ReplaceProperty<K>

    interface ReplaceProperty<K> {
        replaceValue(value: K): this;
        restore(): void;
    }

    Type Parameters

    • K
    Index

    Methods

    • Change the value of the property.

      Parameters

      • value: K

      Returns this

    • Restore property to its original value known at the time of mocking.

      Returns void