aamathews23 / aamathews23/personal

Battleship - Zustand Store Tests

未關閉
#53 0 則留言 0 個 reaction 已指派 1 人 已被 @aamathews23 認領 在 GitHub 檢視
enhancement
主要語言
TypeScript
星號
2
分支
0
平均合併
26 分鐘
30 天內合併 PR
1

描述

## Description

Add testing for the Battleship game's Zustand store.

Include:
- Tests for the store itself.
- Tests for the board + cells.
- Tests for the end of game.

Links:
- [Testing](https://zustand.docs.pmnd.rs/guides/testing#setting-up-zustand-for-testing)

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

在程式碼庫中尋找 Zustand store,它可能位於 `store/` 或 `src/store/` 目錄中。查看連結的 Zustand 測試指南,了解如何設定測試。為 store 的狀態和動作撰寫測試,重點關注棋盤/儲存格狀態和遊戲結束邏輯。執行現有的測試套件,以確保你的測試能正確整合。

由索引模型根據 Issue 內容生成。

評估

領域
testing
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。