test: formatSaveDate テストを ISO日付形式に追従 (#44)#45
Merged
Merged
Conversation
Deploying machigai-salad with
|
| Latest commit: |
f0470ae
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ffbf933c.machigai-salad.pages.dev |
| Branch Preview URL: | https://test-iso-date-44.machigai-salad.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
lib/storage.test.ts > formatSaveDateの5件が main で失敗していたのを修正。原因
773e5fe(test: lib/ の純粋アルゴに vitest を導入する #38/test: lib の純粋アルゴに vitest characterization テストを導入 + CI (#38) #41) のテスト導入時、formatSaveDateは/区切りだった48ba995「セーブ日時表示を /区切りから ISO (2025-06-15) 形式に変更」で意図的に-区切りへ変更/期待)を追従し忘れ → 以後 main で常に5件失敗→ 現行コード(ISO
-)が正しい意図。テストを-に追従(コードは戻さない)。変更
2026/06/15→2026-06-15形式へYYYY/MM/DD→YYYY-MM-DD検証
npm test→ 24/24 全通過Closes #44