Skip to content

検索ビルダーとfetchの既存挙動を固定する回帰テスト追加 - #262

Merged
deflis merged 2 commits into
masterfrom
codex/search-regression-tests
Nov 1, 2026
Merged

deflis merged 2 commits into
masterfrom
codex/search-regression-tests

Conversation

@deflis

@deflis deflis commented Nov 1, 2026

Copy link
Copy Markdown
Owner

検索条件の再指定やページ設定、圧縮設定省略時のエラー挙動を固定する回帰テストを追加します。既存 API の互換性を維持しながら、今後の設計変更による挙動の変化を検出できるようにします。

  • 通常検索・R18検索・ユーザー検索で、戻り値を受け取らない word・limit の再指定、fields の参照共有と再指定、page の上書きと既定値を検証
  • Node/ブラウザ両入口を、fetch実装の注入とMSWによるモックで検証
  • NarouNovelFetch の圧縮設定省略時も、既存の文字列エラーを維持することを検証

テストは既存ファイルの機能別ブロックに配置しています。ライブラリ実装の変更はありません。

検証: pnpm run check 成功(Lint・型チェック・単体テスト、778件成功/3件スキップ)。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T17:21:10.625680Z 3eaf1dd PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@deflis
deflis merged commit bbc6f01 into master Nov 1, 2026
11 checks passed
@deflis
deflis deleted the codex/search-regression-tests branch November 5, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant