test(etapi): port basic-auth

This commit is contained in:
Elian Doran
2025-06-02 19:16:48 +03:00
parent b88af5e4b3
commit f9f3f1983f
3 changed files with 42 additions and 21 deletions

View File

@@ -12,4 +12,5 @@ export async function login(app: Application) {
.expect(201);
const token = response.body.authToken;
expect(token).toBeTruthy();
return token;
}