(baseURL: string, email: string, password: string)
| 789 | |
| 790 | // Multi-user helper |
| 791 | static async asUser(baseURL: string, email: string, password: string): Promise<BytebaseApiClient> { |
| 792 | const client = new BytebaseApiClient({ baseURL, credentials: { email, password } }); |
| 793 | await client.login(email, password); |
| 794 | return client; |
| 795 | } |
| 796 | } |
no test coverage detected