From 97b3cceeb0c51211e83d73e3bd1dfc078559218c Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Tue, 5 Jul 2022 22:41:25 -0700 Subject: [PATCH] fix: fix the testBin which check --- src/utils/tests/test-helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/tests/test-helpers.ts b/src/utils/tests/test-helpers.ts index cbed96eb..fbcb3d4c 100644 --- a/src/utils/tests/test-helpers.ts +++ b/src/utils/tests/test-helpers.ts @@ -49,5 +49,5 @@ export async function testBin( expect(status).toBe(0) } - expect(await io.which(name, true)).toBe(bin) + expect((await io.which(name, true)).includes(bin)) }