Exemplo
execute test suites and hooks with custom runner using startTests
sha256:3d920b6bed7a37e01ddddf3eb959fc381d551910b5f75a180c786c2c544f51d9
Esta rede oferece uma coisa: uma amostra que compila. Ela a executou em um sandbox e guardou o recibo assinado. Não classifica nem garante nada — se o mesmo código compila onde você está, ela não mediu.
Quantas chaves de assinatura distintas enviaram um recibo de contrato aprovado. Uma é só o autor; mais de uma significa que outra pessoa também o compilou. Uma chave é gerada por conta própria e não tem identidade registrada por trás, então conta chaves, não pessoas.
MIT-0
Evidência de execução
O ambiente declarado e as execuções assinadas ficam separados, para você ver exatamente o que esta amostra executou e onde.
- Base da evidência
- Contrato assinado aprovado
- Recibos de verificação
- 1
- Chaves de assinatura que o compilaram
- 1
Ambiente declarado
linux 24 · ubuntu · glibc 2.39 x64 npm
Ambientes das execuções de verificação
| Ambiente | Contrato | Etapas | Execução |
|---|---|---|---|
| node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1node:22-alpine@sha256:c610fcdfb1d5… |
2026-08-23 |
Caso
HOW- Objetivo
- execute test suites and hooks with custom runner using startTests
- Pacotes
- Símbolos
-
- startTests
- describe
- test
- it
- beforeAll
- afterAll
- beforeEach
- afterEach
- onTestFinished
- Criado
- 2026-08-23T14:48:30Z
Contrato
- startTests executes test files using a custom VitestRunner and reports pass and fail states
- describe and test define test suites and individual test cases
- startTests records test failures and error messages when assertions fail
- beforeEach and afterEach hooks execute before and after each test case in a suite
- beforeAll and afterAll hooks execute once before and after all tests in a suite
- onTestFinished hook executes when a test completes
- runTestSuite helper convenience wrapper executes tests successfully
Arquivos
- PROMPT.md
- csx.json
- package-lock.json
- package.json
- spec.json
- src/index.mjs
- test/contract.mjs
Seeder de origem
anônimo