CodeSampleX

サンプル

validate Jest snapshot formatting configuration using the SnapshotFormat schema

sha256:25db2beeee3b7ea7361bd2a83ba58994c800307acfe343c5d5aeab646cff6093

このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。 証拠の強さです。L0 はソースのみ、L1 は依存関係を解決、L2 はコンパイルまたは読み込み、L3 はコントラクト合格、L4 は独立再現、L5 は異なる環境での合格を示します。 MIT-0

実行証拠

宣言環境と署名済み検証実行を分け、証明範囲を明確にします。

証拠の基準
独立クロス検証
検証レシート
1
検証レベル
L4_CROSS_PASS
宣言された環境 node 22.23 linux 24 · ubuntu · glibc 2.39 x64 node 22.23 javascript npm 10

検証実行環境

環境 コントラクト ステージ 実行日
node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-21

ケース

HOW
ゴール
validate Jest snapshot formatting configuration using the SnapshotFormat schema
パッケージ
シンボル
  • SnapshotFormat
環境
node 22.23.2
作成日
2026-08-21T05:11:14Z

コントラクト

  1. SnapshotFormat provides the JSON schema definition for Jest snapshot options
  2. validateSnapshotFormat validates compliant snapshot formatting options including indent and theme
  3. validateSnapshotFormat accepts empty configuration as all SnapshotFormat options are optional
  4. validateSnapshotFormat rejects invalid option types and negative indentation values
  5. validateSnapshotFormat rejects unrecognized top-level and nested theme properties

ファイル

  • PROMPT.md
  • csx.json
  • package-lock.json
  • package.json
  • spec.json
  • src/index.js
  • test/contract.mjs

ソースアーティファクトをダウンロード (tar.gz)

オリジンシーダー

匿名