fix(auth): fix circular import problem by changing the way the authHttpClient gets accessToken; replace individual calls mocks with the common ones
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { http, HttpResponse } from "msw";
|
||||
import type { AuthData } from "../../../model/types/service";
|
||||
import { BASE_URL } from "shared/config";
|
||||
import { REGISTER_API_ROUTE, MOCK_EMAIL, MOCK_TOKEN } from "./constants";
|
||||
import { REGISTER_API_ROUTE } from "./register";
|
||||
import { MOCK_EMAIL, MOCK_TOKEN } from "../mocks";
|
||||
|
||||
const REGISTER_URL = `${BASE_URL}/${REGISTER_API_ROUTE}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user