From 2f3dbe7f89a3b4b6e06dbf032461b4de30766336 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Wed, 13 May 2020 09:28:23 +0800 Subject: [PATCH] test: add assertion --- resources/assets/tests/views/admin/PluginsMarket.test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/assets/tests/views/admin/PluginsMarket.test.tsx b/resources/assets/tests/views/admin/PluginsMarket.test.tsx index 016a8cb8..156f75ef 100644 --- a/resources/assets/tests/views/admin/PluginsMarket.test.tsx +++ b/resources/assets/tests/views/admin/PluginsMarket.test.tsx @@ -183,6 +183,7 @@ describe('update plugin', () => { }), ) expect(queryByText('ok')).toBeInTheDocument() + expect(queryByText(t('admin.updatePlugin'))).not.toBeInTheDocument() expect(queryByText(t('admin.installPlugin'))).toBeDisabled() }) })