warriordog/mooltipage

Tests for invalid usage of custom nodes

Aberta

#6 aberto em 10 de ago. de 2020

 (0 comentário) (0 reação) (0 responsável)TypeScript (4 forks)auto 404
good first issuetests

Métricas do repositório

Stars
 (1 estrela)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Tests are needed for invalid usages of custom nodes. Currently, these usages should throw an exception and stop the compilation. Tests for constructor arguments already exist, but there are no tests for parsing from HTML. That situation needs to be covered.

Example:

<!-- should throw, "src" is missing -->
<m-fragment />

Guia do colaborador