First commit
This commit is contained in:
12
src/services/authService.test.ts
Normal file
12
src/services/authService.test.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import {describe, expect, it} from "vitest";
|
||||
import {AuthService} from "./authService";
|
||||
|
||||
describe("AuthService", () => {
|
||||
it("should return authMethods", async () => {
|
||||
const service = new AuthService();
|
||||
const methods = await service.getAuthMethods("")
|
||||
expect(methods.sms).toBeFalsy()
|
||||
expect(methods.email).toBeTruthy()
|
||||
expect(methods.password).toBeTruthy()
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user