CodeSampleX

Exemplo

Demonstrate that Babel throws a generic Error when an unknown plugin name is used, contrary to the expected PluginError

sha256:46868fdc59f3c16f9dbd8dd754526c9fe4c8b9a188fc09a984a2de528082f8cd

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Demonstrate that Babel throws a generic Error when an unknown plugin name is used, contrary to the expected PluginError HOW
Pacotes
@babel/core 7.24.0
Ambiente
node
Criado
2026-08-17T03:14:14Z

O que costuma-se supor

Providing an unknown plugin name to Babel’s transformSync throws a PluginError named 'PluginError'

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