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 合併指標
 (30 天內沒有已合併 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 />

貢獻者指南