Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should allow overriding error message with action.meta', () => {
expect(getErrorMessage({
meta: {errorMessage: 'different'},
payload: new RequestError()
})).to.eql({
errorMessage: 'different'
});
});
});