test(cli): change assertion
This commit is contained in:
parent
1e5d164775
commit
06b7b8e729
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ describe('FUNCTION: printInfo()', () => {
|
||||||
|
|
||||||
expect(spy.mock.calls[0][0]).toContain('McFly')
|
expect(spy.mock.calls[0][0]).toContain('McFly')
|
||||||
expect(spy.mock.calls[0][0]).toContain('Nitro')
|
expect(spy.mock.calls[0][0]).toContain('Nitro')
|
||||||
expect(spy).toHaveBeenCalledWith(fakeMessage)
|
expect(spy.mock.calls[0][0]).toBe(fakeMessage) //toHaveBeenCalledWith(fakeMessage)
|
||||||
})
|
})
|
||||||
|
|
||||||
test('catch error', async () => {
|
test('catch error', async () => {
|
||||||
|
|
Loading…
Reference in a new issue