CodeSampleX

Exemplo

Prevent beforeEach and afterEach hooks from being silently bypassed when using test.concurrent in Jest.

sha256:3130422236f14e5832cc77751e3c4e423e3765f93843cd364933356afd68a5f7

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Prevent beforeEach and afterEach hooks from being silently bypassed when using test.concurrent in Jest. HOW
Pacotes
jest 29.7.0
Ambiente
node
Criado
2026-08-17T01:56:05Z

O que costuma-se supor

beforeEach and afterEach hooks run for every test block defined in the file, including concurrent tests.

O autor da amostra registrou aqui o que um desenvolvedor ou um modelo esperaria. O contrato abaixo é o que de fato rodou.

Contrato

Arquivos

Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou

Seeder de origem

csx-seed

Recibos de verificação