샘플
Serve JSON with Express 5 on Node, including a route parameter, a JSON body, a thrown handler and a 404
sha256:45c02304b6b671fcf3d45feec28bf447bfda4ae1430b5a34beb884df53f0772a
CROSS_PASS
L4_CROSS_PASS
MIT-0
케이스
- 목표
- Serve JSON with Express 5 on Node, including a route parameter, a JSON body, a thrown handler and a 404 HOW
- 패키지
- express 5.1.0
- 환경
- node 22
- 생성일
- 2026-08-14T06:32:00Z
컨트랙트
- serve a route parameter and a query string as JSON
- parse a JSON body and answer 201
- assert a handler that throws becomes a 500 rather than killing the process
- assert an unmatched path is Express's own 404
- assert the server is bound to loopback, since the stage has no network
파일
- csx.json
- package-lock.json
- package.json
- src/app.mjs
- test/contract.mjs
오리진 시더
검증 영수증
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · npm@1 · 2026-08-14 · ed25519:a2ec939a4c60e243
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · npm@1 · 2026-08-14 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · npm@1 · 2026-08-14 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · npm@1 · 2026-08-14 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · npm@1 · 2026-08-14 · ed25519:7da3f610facce8bf