From 49755909bdaea9399e51b67fbd1a6d071acd3182 Mon Sep 17 00:00:00 2001 From: Corentin Thomasset Date: Thu, 18 Aug 2022 10:53:23 +0200 Subject: fix(deps): added missing optional deps --- src/utils/boolean.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/utils/boolean.test.ts') diff --git a/src/utils/boolean.test.ts b/src/utils/boolean.test.ts index 20b8e33..57ca10a 100644 --- a/src/utils/boolean.test.ts +++ b/src/utils/boolean.test.ts @@ -1,10 +1,11 @@ +import _ from 'lodash'; import { describe, expect, it } from 'vitest'; import { isNotThrowing } from './boolean'; describe('boolean utils', () => { describe('isNotThrowing', () => { it('should return if the call throws or false otherwise', () => { - expect(isNotThrowing(() => {})).to.eql(true); + expect(isNotThrowing(_.noop)).to.eql(true); expect( isNotThrowing(() => { throw new Error(); -- cgit v1.2.3