Finished implementing AuthService (Unit/Integration tests, documentation and code)

This commit is contained in:
2026-04-01 19:34:59 +02:00
parent 0852cbd4f0
commit 7b6760952e
11 changed files with 389 additions and 38 deletions

View File

@@ -0,0 +1,11 @@
import {beforeAll, beforeEach} from 'vitest';
import {environment, SDKConfig} from "../src/core/environment";
import {getClient} from "../src/core/http";
beforeEach(async () => {
environment.overwrite(<SDKConfig>{
apiUrl: "http://localhost:3000"
})
await getClient().post("v2/reset")
})