function toFail() {
        return {
            compare: function (_, failMessage) {
                return {
                    pass: false, // always fails
                    message: failMessage
                };
            }
        };
    }
******************************************************
Jasmine matcher that always fails with the message
Ex: expect().toFail('what a mess');
*******************************************************