Finished implementing AuthService (Unit/Integration tests, documentation and code)
This commit is contained in:
11
tests/vitest.setup.integration.ts
Normal file
11
tests/vitest.setup.integration.ts
Normal 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")
|
||||
})
|
||||
Reference in New Issue
Block a user