warriordog/mooltipage

Tests for invalid usage of custom nodes

Offen

#6 geöffnet am 10.08.2020

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (4 Forks)auto 404
good first issuetests

Repository-Metriken

Stars
 (1 Stern)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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 />

Contributor Guide