diff options
author | 2022-08-18 10:53:23 +0200 | |
---|---|---|
committer | 2022-08-18 10:53:23 +0200 | |
commit | 49755909bdaea9399e51b67fbd1a6d071acd3182 (patch) | |
tree | b7af979e890efe31b1f71ac0333a3e0f4d98b695 /src/utils/boolean.test.ts | |
parent | 44d653b1f2fe6ea1fb820bf1a7479089744568cf (diff) | |
download | it-tools-49755909bdaea9399e51b67fbd1a6d071acd3182.tar.gz it-tools-49755909bdaea9399e51b67fbd1a6d071acd3182.tar.zst it-tools-49755909bdaea9399e51b67fbd1a6d071acd3182.zip |
fix(deps): added missing optional deps
Diffstat (limited to 'src/utils/boolean.test.ts')
-rw-r--r-- | src/utils/boolean.test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |