test: unit tests are placeholders and CI runs on Node 18
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 38/100
調査の方向性
Start by reading __tests__/server.test.js and the “Server API tests” workflow to see the existing test setup and Node version. The issue proposes exercising the exported app with Supertest and mongodb-memory-server across auth, enrolment, payments and reviews, then updating CI to Node 22. Done means replacing placeholder checks with the listed integration cases and updating the workflow; branch protection is also requested.
索引モデルが issue の本文から書いたものです。
説明
__tests__/server.test.js checks things like 2 + 2 === 4 and string operations, so the "Server API tests" workflow passes without exercising any controller or route. Only trie.test.js tests real code. The workflow also runs on Node 18.x, which is end-of-life.
Suggested fix
- Add integration tests with Supertest against the exported app and an in-memory MongoDB (
mongodb-memory-server) for auth, enrolment, payments and reviews: the happy path plus 401/403, not-owner, invalid input, missing ids and duplicates. - Run the workflow on Node 22 LTS and make it a required check for
main.
Found while reviewing StudyNotion with Claude Code.
- 主要言語
- JavaScript
- スター
- 23
- フォーク
- 8
- 平均マージ
- 11分
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
khemssharma/StudyNotion のほかの issue
-
docs: README is missing the sections its introduction promises; outdated clone URL and Node versionオープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
khemssharma/StudyNotion#55 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
khemssharma/StudyNotion#59 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
khemssharma/StudyNotion#58 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
khemssharma/StudyNotion#56 ·
-
documentation
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
khemssharma/StudyNotion#54 ·
khemssharma/StudyNotion の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
OWASP/CheatSheetSeries#3018 ·
メンテナーはふだん 1 日以内に返信
-
Radix number block generates NaN after switching a negative or decimal number to binary, octal or hex対応中かも @matthewalberto が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
mit-cml/appinventor-sources#4246 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 83/100
GoogleChrome/modern-web-guidance-src#3675 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信