Loading files
e575d235bThis file is pinned to the selected release. Download the original to open it in your design tool.
Files from this revision, including CAD and LFS contents. Git history is not included.
Or in GitHub Desktop, choose File → Clone repository → URL and paste this address.
Public repositories can be cloned without signing in. For pushing, use your ThingAtlas username and a Git access token as the password.
git lfs install git clone https://thingatlas.com/git/-unclaimed/stack-chan-374381865.git
Includes Git history, branches, and Git LFS files. Clones the repository’s default branch, regardless of the version shown here.
# Chat tests
Chat機能の検証用テストを `tests/chats` 配下に配置しています。
## 実行方法(シミュレータ)
```
source /home/sskw/.local/share/xs-dev-export.sh
mcconfig -m -d -p sim/m5stack -t run ./tests/chats/chat-service/manifest.json
mcconfig -m -d -p sim/m5stack -t run ./tests/chats/chat-statusbar/manifest.json
mcconfig -m -d -p sim/m5stack -t run ./tests/chats/chat-balloon/manifest.json
mcconfig -m -d -p sim/m5stack -t run ./tests/chats/chat-audioio-config/manifest.json
```
## テスト一覧
- `chat-service`: ChatService と ChatAudioIO の橋渡し、tools変換の検証(Mock ChatAudioIO)
- `chat-statusbar`: AppBar 状態表示の切替・入力ゲイン反映
- `chat-balloon`: SpeechBalloon の生成/更新が成立することの確認
- `chat-audioio-config`: `config.chat.type` のガードが不正値を弾くことを確認
## 備考
- ChatService のユニットテストは `ChatAudioIO` を `tests/chats/mocks/ChatAudioIO.js` に差し替えて実行します。
- 実機/ネットワークには依存しません。
e575d235bThis file is pinned to the selected release. Download the original to open it in your design tool.