Skip to content

Commit

Permalink
✅ test: 修正测试快照
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jul 11, 2021
1 parent c378456 commit b88d809
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/user-panel/tests/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ describe('UserPanel', () => {
}}
onLoginSubmit={() => {
return new Promise((resolve) => {
resolve();
resolve({
type: 'account',
status: 'ok',
currentAuthority: 'user',
});
});
}}
/>,
Expand Down

0 comments on commit b88d809

Please sign in to comment.