We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a288ede commit 51d40cfCopy full SHA for 51d40cf
1 file changed
test/unit/login/login.test.ts
@@ -21,6 +21,11 @@ describe('getUserRoles', () => {
21
it('returns [] and does not load preferences when current user is missing', async () => {
22
const solidLogic = require('solid-logic')
23
24
+ solidLogic.authSession.info = {
25
+ isLoggedIn: true,
26
+ webId: 'https://alice.example.com/profile/card#me'
27
+ }
28
+
29
const currentUserSpy = jest
30
.spyOn(solidLogic.authn, 'currentUser')
31
.mockReturnValue(null)
0 commit comments