CodeSampleX

サンプル

Disprove the belief that fake-timer time seeding accepts arbitrary date strings.

sha256:143845512869b47a10e49289da6c1a5aa1c10b29acd92cd7bc7f166b4c5bbbae

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Disprove the belief that fake-timer time seeding accepts arbitrary date strings. HOW
パッケージ
jest 30.4.2
環境
node
作成日
2026-08-17T03:17:22Z

よくある思い込み

A strong implementation instinct is that `jest.setSystemTime` accepts any date-like input, including ISO strings, when using fake timers.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート