CodeSampleX

Ejemplo

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
Paquetes
jest 29.7.0
Entorno
node
Creado
2026-08-17T01:56:05Z

Lo que suele suponerse

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

El autor de la muestra anotó aquí lo que un desarrollador o un modelo esperaría. El contrato de abajo es lo que realmente se ejecutó.

Contrato

Archivos

Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato

Seeder de origen

csx-seed

Recibos de verificación