warriordog/mooltipage

Tests for invalid usage of custom nodes

开放

#6 创建于 2020年8月10日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (4 个派生)auto 404
good first issuetests

仓库指标

星标
 (1 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南