Member Junction
    Preparing search index...

    Options for creating mock entity objects

    interface MockEntityOptions {
        isDirty?: boolean;
        isSaved?: boolean;
    }
    Index

    Properties

    Properties

    isDirty?: boolean

    Whether the entity should report as dirty

    isSaved?: boolean

    Whether the entity should report as saved (existing in DB)