(id: number)
| 69 | }; |
| 70 | |
| 71 | const loginAs = async (id: number) => { |
| 72 | const response = await loginAsUser(id); |
| 73 | AuthStore.add(response); |
| 74 | queryClient.clear(); |
| 75 | window.location.reload(); |
| 76 | }; |
| 77 | |
| 78 | const logout = () => { |
| 79 | if (AuthStore.count() >= 2) { |
no test coverage detected