Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add frontend tests for core pages

オープン
#14 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

@adityamukesh がすでに取り組んでいます。

2026年10月13日 から。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, nextjs
領域
testing

調査の方向性

Start with one named page under frontend/pages/ and read the existing tests in frontend/__tests__/ to follow the Jest and Testing Library style. Mock API calls as in the existing tests, then cover player-visible behavior for that page; verify tests fail when the behavior breaks. Run cd frontend && npm test && npm run lint.

索引モデルが issue の本文から書いたものです。

説明

good first issue help wanted

The backend has 94 test files, the frontend has 16. Most pages under frontend/pages/ have no tests, including the ones players use most.

Good places to start

  • frontend/pages/problems/[slug].js: practice problem view, run and submit states, error display.
  • frontend/pages/leaderboard.js: sorting, empty state, pagination.
  • frontend/pages/login.js and register.js: validation messages and error handling.
  • frontend/pages/practice.js: problem list filtering by difficulty and tag.

Follow the style in frontend/__tests__/ (Jest plus Testing Library, API calls mocked).

Definition of done

  • Tests cover behavior a player would notice, not implementation details.
  • Each new test fails if you break the thing it covers (mention how you checked in the pull request).
  • cd frontend && npm test && npm run lint passes.

One page per pull request is ideal.

主要言語
JavaScript
スター
0
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sennaicodes/codearena のほかの issue

sennaicodes/codearena の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。