mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-10 08:00:03 +00:00
![Mario Pietsch](/assets/img/avatar_default.png)
* add tc-tesc-case class to testcase-widget * add default and custom class to testcase-widget * Testcase widget update tests for default and custom class definitions
18 lines
544 B
Plaintext
18 lines
544 B
Plaintext
title: Data/Simple
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
description: Standalone data widget to create individual tiddlers
|
|
|
|
title: Description
|
|
text: Standalone data widget to create individual tiddlers
|
|
+
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
<$testcase template="$:/core/ui/testcases/RawJSONTemplate" class="my-class an-other-class">
|
|
<$data title="Epsilon" text="Theta"/>
|
|
</$testcase>
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p><div class="tc-test-case my-class an-other-class"><div>[{"title":"Epsilon","text":"Theta"}]</div></div></p> |