From b695a0a7ff5b61806d71a2b0a067ddde7ec0b9e3 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Fri, 19 Mar 2021 16:41:30 -0400 Subject: [PATCH] test: index fix --- src/__tests__/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__tests__/index.test.ts b/src/__tests__/index.test.ts index 8ace7d3..72b640a 100644 --- a/src/__tests__/index.test.ts +++ b/src/__tests__/index.test.ts @@ -104,7 +104,7 @@ describe('Packwatch', () => { ), ) expect(mockError.mock.calls).toHaveLength(1) - expect(mockError.mock.calls[1][0]).toEqual( + expect(mockError.mock.calls[0][0]).toEqual( expect.stringMatching( 'It looks like you ran PackWatch without a manifest. To prevent accidental passes in CI or hooks, packwatch will terminate with an error. If you are running packwatch for the first time in your project, this is expected!', ),