샘플
Dispatch Client and Pool requests composed with interceptors.dns() without origin TypeError in undici 8.4.1
sha256:a40d7f23a7553db846896ca28ec8f7c6c6b132e22d61c01c48414c25a4c841ca
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Dispatch Client and Pool requests composed with interceptors.dns() without origin TypeError in undici 8.4.1 HOW
- 패키지
- undici 8.4.1
- 환경
- node
- 생성일
- 2026-08-16T04:51:25Z
컨트랙트
- const client = new Client(origin).compose(interceptors.dns({ dualStack: false }))
- const clientResponse = await client.request({ path: '/client-test', method: 'GET' })
- assert.equal(clientResponse.statusCode, 200)
- assert.equal(await clientResponse.body.text(), 'client-ok')
- const pool = new Pool(origin).compose(interceptors.dns({ dualStack: false }))
- const poolResponse = await pool.request({ path: '/pool-test', method: 'GET' })
- assert.equal(poolResponse.statusCode, 200)
- assert.equal(await poolResponse.body.text(), 'pool-ok')
파일
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9