Phase 5 cleanup
This commit is contained in:
parent
5536acd67d
commit
76a516a417
136 changed files with 6322 additions and 1985 deletions
|
|
@ -6,8 +6,12 @@ const { mockUseSession, mockUseSWR, mockApiClient } = vi.hoisted(() => ({
|
|||
mockUseSWR: vi.fn(),
|
||||
mockApiClient: {
|
||||
_accessToken: null as string | null,
|
||||
set accessToken(token: string) { this._accessToken = token; },
|
||||
get hasToken() { return this._accessToken !== null; },
|
||||
set accessToken(token: string) {
|
||||
this._accessToken = token;
|
||||
},
|
||||
get hasToken() {
|
||||
return this._accessToken !== null;
|
||||
},
|
||||
},
|
||||
}));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue