Jest-Unexpected

Jest-Unexpected aims to be a drop-in such that using it within an existing test
suite is as simple as npm install jest-unexpected and adding a require:

constexpect=require('jest-unexpected');

describe('a null value',()=>{

it('should equal null',()=>{

expect(null).toEqual(null);

});

});

Compatibility

Almost the entirety of Jest expect API in implemented with only the following
missing methods which the library will highlight during execution (an exception
will be thrown with a clear message indicating the method name):