优化
This commit is contained in:
@@ -143,7 +143,8 @@ describe('InternalUsersView platform internal user management', () => {
|
||||
vi.mocked(listPlatformManagedUsers).mockRejectedValueOnce(new Error('Gateway unavailable'))
|
||||
const wrapper = await mountView()
|
||||
|
||||
expect(wrapper.text()).toContain('Gateway unavailable')
|
||||
expect(wrapper.text()).toContain('内部用户列表加载失败,请稍后重试')
|
||||
expect(wrapper.text()).not.toContain('Gateway unavailable')
|
||||
expect(wrapper.text()).toContain('重新加载')
|
||||
expect(wrapper.text()).not.toContain('zhangwei')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user