From ea1a05d05e4868cdff0bb3d1c700b5d2733f5ff3 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Sat, 10 Apr 2021 02:21:08 +0300 Subject: [PATCH] test(plugin-commands-installation): fix --- .../plugin-commands-installation/test/update/interactive.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/plugin-commands-installation/test/update/interactive.ts b/packages/plugin-commands-installation/test/update/interactive.ts index 3682b0c7d4..1da7848290 100644 --- a/packages/plugin-commands-installation/test/update/interactive.ts +++ b/packages/plugin-commands-installation/test/update/interactive.ts @@ -71,6 +71,7 @@ test('interactively update', async () => { updateDependencies: ['is-negative'], }) + prompt.mockClear() // t.comment('update to compatible versions') await update.handler({ ...DEFAULT_OPTIONS, @@ -129,7 +130,7 @@ test('interactively update', async () => { name: 'is-positive', }, { - message: chalk`micromatch 3.0.0 ❯ {redBright.bold 4.0.2} `, + message: chalk`micromatch 3.0.0 ❯ {redBright.bold 4.0.3} `, name: 'micromatch', }, ])