2.0.0 • Published 4 years ago

chai-resemble v2.0.0

Weekly downloads
32
License
MIT
Repository
github
Last release
4 years ago

chai-resemble

NPM version Build Status Coverage Status Dependency Status devDependency Status

Chai helper for visually comparing HTML pages.

Installation

npm install chai-resemble

Usage

var chai = require('chai'),
    resemble = require('chai-resemble.js');

chai.use(resemble);

describe('chai-resemble', function() {
    it('Should resemble the original', function(done) {
        expect('https://www.google.com').to.resemble('https://www.google.com', done);
    });

    // Specify where to store files.
    it('Should resemble the original', function(done) {
        expect('https://www.google.com').to.resemble('https://www.google.com' { name: 'filename', outDir: 'directory' }, done);
    });
});

License

Copyright (c) 2019 Giacomo Martino. See the LICENSE file for license rights and limitations (MIT).

2.0.0

4 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago