diff --git a/typescript/option/src/helpers/unpack.test.ts b/typescript/option/src/helpers/unpack.test.ts index f3ebec1..802f6aa 100644 --- a/typescript/option/src/helpers/unpack.test.ts +++ b/typescript/option/src/helpers/unpack.test.ts @@ -38,10 +38,10 @@ describe('The unpack helper', () => { it('should not call the lazy default', () => { // arrange - const func = spy(constantly(x)) + const func = spy(alwaysX) // act - unpack(func, constantly(x), someX) + unpack(func, alwaysX, someX) // assert expect(func.called).to.be.false