test: add assertion

This commit is contained in:
Pig Fang 2020-05-13 09:28:23 +08:00
parent 496b732cb9
commit 2f3dbe7f89

View File

@ -183,6 +183,7 @@ describe('update plugin', () => {
}),
)
expect(queryByText('ok')).toBeInTheDocument()
expect(queryByText(t('admin.updatePlugin'))).not.toBeInTheDocument()
expect(queryByText(t('admin.installPlugin'))).toBeDisabled()
})
})