0.1.6 • Published 4 years ago

node-jasmine-file-matcher v0.1.6

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

node-jasmine-file-matcher

Matches a file's contents to another file's contents.

Install with:

npm install --save-dev node-jasmine-file-matcher

Then use like this:

var fileMatcher = require('node-jasmine-file-matcher');

describe('check those files', function () {
    beforeEach(function() {
        jasmine.addMatchers(fileMatcher);
    });

    it('checks them', function () {
        expect('path/to/actualFile.txt').toEqualFile('path/to/expectedFile.txt');
    });
});
0.1.6

4 years ago

0.1.5

5 years ago

0.1.4

6 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago