test(cli): change assertion

This commit is contained in:
Ayo Ayco 2024-12-19 23:59:00 +01:00
parent 1e5d164775
commit 06b7b8e729

View file

@ -67,7 +67,7 @@ describe('FUNCTION: printInfo()', () => {
expect(spy.mock.calls[0][0]).toContain('McFly')
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 () => {