From 06c9f6e3842cd6a738abae67106ecafaaa8a785a Mon Sep 17 00:00:00 2001 From: Piotr Szlachciak Date: Sun, 21 Apr 2024 14:44:00 +0200 Subject: [PATCH] Fix linter --- packages/earl/src/mocks/mockFn.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/earl/src/mocks/mockFn.test.ts b/packages/earl/src/mocks/mockFn.test.ts index 80ddee98..015b360f 100644 --- a/packages/earl/src/mocks/mockFn.test.ts +++ b/packages/earl/src/mocks/mockFn.test.ts @@ -313,7 +313,7 @@ describe('Mock', () => { }) it('clears mock calls', () => { - const fn = mockFn((a: string, b: string) => {}) + const fn = mockFn((_a: string, _b: string) => {}) fn('foo', 'bar') expect(fn.calls).to.deep.equal([ { args: ['foo', 'bar'], result: { type: 'return', value: undefined } }, @@ -325,7 +325,7 @@ describe('Mock', () => { describe('.clear', () => { it('clears mock calls', () => { - const fn = mockFn((a: string, b: string) => {}) + const fn = mockFn((_a: string, _b: string) => {}) fn('foo', 'bar') expect(fn.calls).to.deep.equal([ { args: ['foo', 'bar'], result: { type: 'return', value: undefined } },