mirror of https://github.com/status-im/metro.git
[react-pacakger] Fix failing test
Summary: Fix failing test that matches the exact error string to match using `contains`. I was under the impression that jest tests were running in CI -- turns out not yet.
This commit is contained in:
parent
26a028e98d
commit
c980942899
|
@ -107,6 +107,6 @@ describe('SocketClient', () => {
|
||||||
data: 'some error'
|
data: 'some error'
|
||||||
});
|
});
|
||||||
|
|
||||||
return promise.catch(m => expect(m.message).toBe('some error'));
|
return promise.catch(m => expect(m.message).toContain('some error'));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue