diff --git a/packager/react-packager/src/SocketInterface/__tests__/SocketClient-test.js b/packager/react-packager/src/SocketInterface/__tests__/SocketClient-test.js index c898e9272..59477fcf1 100644 --- a/packager/react-packager/src/SocketInterface/__tests__/SocketClient-test.js +++ b/packager/react-packager/src/SocketInterface/__tests__/SocketClient-test.js @@ -107,6 +107,6 @@ describe('SocketClient', () => { data: 'some error' }); - return promise.catch(m => expect(m.message).toBe('some error')); + return promise.catch(m => expect(m.message).toContain('some error')); }); });