Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 22, 2023
1 parent a44858e commit aeb25fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from 'ava'
import keepFuncProps from 'keep-func-props'
import sinon from 'sinon'
import { spy } from 'sinon'

// Dummy functors and functions used in tests
const identityFunctor = (func) =>
Expand Down Expand Up @@ -36,7 +36,7 @@ test('should allow functors not taking a function as argument', (t) => {
})

test('should pass functor arguments', (t) => {
const functor = sinon.spy(identityFunctor)
const functor = spy(identityFunctor)

const functorCopy = keepFuncProps(functor)
functorCopy(identityFunc, 'a', 'b')
Expand All @@ -45,7 +45,7 @@ test('should pass functor arguments', (t) => {
})

test('should pass functor context', (t) => {
const functor = sinon.spy(identityFunctor)
const functor = spy(identityFunctor)

const functorCopy = keepFuncProps(functor)
const context = {}
Expand Down

0 comments on commit aeb25fd

Please sign in to comment.