---json { "page_id": "te56trito1m4yz87nu60w" } --- ====== ComboStrap UI - Unit Testing ====== ===== About ===== ''unit'' is just a [[docs:metadata:metadata|semantic component]] to indicate a unit of sequence of [[docs:block:code|code block]]. It doesn't render and is used to create [[kb>unit:test|unit tests]] in documentation that are later used by an external test engine. ===== Syntax ===== * The unit node may got the ''display="none"'' property to not display the whole block A file content A block of code The expectation result ===== Example ===== ==== Default ==== File content A code block may also come here but as we can't nest node in dokuwiki, we can put it in this example Expectation or output of the code block ==== Display: none ==== The unit node may got the ''display="none"'' property to not display the whole block The below code should not render. * There will be no output