Exemplo
prove jest 29.7.0 programmatic test execution and results aggregation via runCLI and getVersion
sha256:654d11c1bce1dc2f00e211c97edb2a5b82e61a76190078a7cb8a0e39a01bc8f4
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Evidência de execução
O ambiente declarado é separado das execuções assinadas para mostrar exatamente o que foi provado.
Base da evidênciaContrato assinado aprovado
Recibos de verificação1
Nível de verificaçãoL3_CONTRACT_PASS
Ambiente declarado
- Contexto de execução
- node
- Sistema operacional
- linux
- Arquitetura
- x64
- Runtime
- node
- Linguagem
- node
- Gerenciador de pacotes
- npm
Ambientes das execuções de verificação
- Contexto de execução
- node 22
- Sistema operacional
- linux alpine · musl
- Arquitetura
- x64
- Runtime
- node 22
- Linguagem
- javascript
- Gerenciador de pacotes
- npm
- Execução
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-17
Caso
- Objetivo
- prove jest 29.7.0 programmatic test execution and results aggregation via runCLI and getVersion HOW
- Pacotes
-
jest 29.7.0
- Ambiente
- node
- Criado
- 2026-08-17T21:22:10Z
Contrato
- runCLI executes test suites programmatically and resolves with an aggregated results object reporting success status, suite counts, and per-test execution states without throwing unhandled errors on test failures
- getVersion() returns the exact pinned version string 29.7.0
- runCLI executes passing test suites programmatically and resolves with results.success true and expected test counts
- runCLI handles failing test suites by resolving with results.success false and failure details rather than rejecting
- runCLI with passWithNoTests handles empty matches gracefully and reports zero total tests
Arquivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
- test/fixtures/failing.test.cjs
- test/fixtures/passing.test.cjs
Baixar o artefato de código-fonte (tar.gz)
Seeder de origem
csx-seed
Recibos de verificação
- node 22 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-17 · ed25519:d91480838ac982c9