Extension to expect.js according to https://github.com/magwo/expect.js/commit/105caeadbd375aeb041ccdeee88ffc55a58fe2e3