Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sz-piotr committed Apr 21, 2024
1 parent 75c91af commit 06c9f6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/earl/src/mocks/mockFn.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 } },
Expand All @@ -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 } },
Expand Down

0 comments on commit 06c9f6e

Please sign in to comment.