feat(ai-character): 리소스 관리 기반 정비

This commit is contained in:
Yu Sung
2026-08-01 01:30:24 +09:00
parent 55ba0df77a
commit a1cae336d9
73 changed files with 5162 additions and 816 deletions

View File

@@ -2,6 +2,7 @@ import { http, HttpResponse } from "msw";
import { afterEach, describe, expect, test, vi } from "vitest";
import { login, logout } from "@/features/auth/api/auth-api";
import { UNKNOWN_API_ERROR_MESSAGE } from "@/shared/api/api-error";
import { createApiClient } from "@/shared/api/client";
import { server } from "@/shared/test/server";
@@ -77,7 +78,7 @@ describe("auth API", () => {
const request = login(client, { email: "admin@test.com", password: "password" });
// Then
await expect(request).rejects.toThrow("API 응답 형식이 올바르지 않습니다.");
await expect(request).rejects.toThrow(UNKNOWN_API_ERROR_MESSAGE);
});
test("posts logout once with Bearer and no body", async () => {