hermione-reassert-view

4.0.1 • Public • Published

hermione-reassert-view

Plugin for hermione, which makes less strict comparison of images via resemblejs if there is a diff after assertView. More info about hermione plugins in hermione.

Installation

$ npm install hermione-reassert-view

Configuration

In hermione config:

module.exports = {
    // ...

    plugins: {
        'hermione-reassert-view': {
            enabled: true, // by default
            browsers: ['edge'],
            maxDiffSize: { // max allowable diff size in pixels before ignoring antialiasing
                width: 10, // 15 by default
                height: 10 // 15 by default
            },
            dry: true // debug mode: do not fix assert view results. `false` by default
        }
    },

    // ...
};

Debugging

$ DEBUG=hermione-reassert-view hermione_reassert_view_dry=true hermione

/hermione-reassert-view/

    Package Sidebar

    Install

    npm i hermione-reassert-view

    Weekly Downloads

    48

    Version

    4.0.1

    License

    MIT

    Unpacked Size

    6.66 kB

    Total Files

    5

    Last publish

    Collaborators

    • egavr
    • j0tunn
    • dudagod
    • sipayrt
    • rostik404
    • kuznetsovroman