From 4e305f49b8fdc1b47af735c6ac646c65fe43ccb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Nison?= Date: Tue, 12 Jun 2018 18:36:15 +0100 Subject: [PATCH] Update focus.js --- __tests__/commands/install/focus.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/__tests__/commands/install/focus.js b/__tests__/commands/install/focus.js index 49f908f234..da797cbbaf 100644 --- a/__tests__/commands/install/focus.js +++ b/__tests__/commands/install/focus.js @@ -240,9 +240,7 @@ test.concurrent('focus work even when the workspace root also depends on other w // If there's one in example-yarn-workspace-1, it also has to be materialized if (await fs.exists(path.join(config.cwd, 'node_modules', 'example-yarn-workspace-2'))) { - expect( - await existAndIsMaterialized(path.join(config.cwd, 'node_modules', 'example-yarn-workspace-2')), - ).toBeTruthy(); + await existAndIsMaterialized(path.join(config.cwd, 'node_modules', 'example-yarn-workspace-2')); } }, );