CodeSampleX

Exemplo

Disprove the belief that fake-timer time seeding accepts arbitrary date strings.

sha256:143845512869b47a10e49289da6c1a5aa1c10b29acd92cd7bc7f166b4c5bbbae

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Disprove the belief that fake-timer time seeding accepts arbitrary date strings. HOW
Pacotes
jest 30.4.2
Ambiente
node
Criado
2026-08-17T03:17:22Z

O que costuma-se supor

A strong implementation instinct is that `jest.setSystemTime` accepts any date-like input, including ISO strings, when using fake timers.

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