test(listings): 매물 빈-상태 스모크 assertion을 버튼과 겹치지 않게 좁힘
리뷰 지적: /매물이 없습니다|수집/ 의 |수집 이 항상 존재하는 '수집 실행' 버튼과 매치 → 빈-상태 미검증. /매물이 없습니다/ 로 좁혀 실제 검증. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UHXzpsZQxKG9hQmNRfZjRS
This commit is contained in:
@@ -18,7 +18,7 @@ describe('ListingsTab', () => {
|
|||||||
it('빈 목록이면 안내 문구', async () => {
|
it('빈 목록이면 안내 문구', async () => {
|
||||||
getListings.mockResolvedValue({ listings: [] });
|
getListings.mockResolvedValue({ listings: [] });
|
||||||
render(<ListingsTab />);
|
render(<ListingsTab />);
|
||||||
await waitFor(() => expect(screen.getByText(/매물이 없습니다|수집/)).toBeInTheDocument());
|
await waitFor(() => expect(screen.getByText(/매물이 없습니다/)).toBeInTheDocument());
|
||||||
});
|
});
|
||||||
|
|
||||||
it('매물+판정 tier·배열 필드를 크래시 없이 렌더 (매매=valuation, 배열 그대로)', async () => {
|
it('매물+판정 tier·배열 필드를 크래시 없이 렌더 (매매=valuation, 배열 그대로)', async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user