Skip to content

Commit

Permalink
chore: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
magiziz committed Nov 6, 2024
1 parent 1b0a1e2 commit cf16897
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/appkit-utils/src/ErrorUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export const ErrorUtil = {
},
JWT_TOKEN_NOT_VALID: {
shortMessage: 'Session Expired',
longMessage: 'Session expired - please connect again'
longMessage:
'Invalid session found on UniversalProvider - please check your time settings and connect again'
},
PROJECT_ID_NOT_CONFIGURED: {
shortMessage: 'Project ID Not Configured',
Expand Down
3 changes: 2 additions & 1 deletion packages/appkit/src/tests/universal-adapter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ describe('UniversalAdapter', () => {
]

for (const { alert, message } of errors) {
;(universalAdapter as any).handleAlertError(new Error(message))
// @ts-expect-error
universalAdapter.handleAlertError(new Error(message))
expect(AlertController.open).toHaveBeenCalledWith(alert, 'error')
}
})
Expand Down

0 comments on commit cf16897

Please sign in to comment.