Add basic view-widget tests (#8632)

This commit is contained in:
Mario Pietsch
2024-09-25 14:02:10 +02:00
committed by GitHub
parent 006157ee97
commit bb75560922
9 changed files with 188 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
title: Widgets/ViewWidget/Parameter/field-index
description: Test view-widget parameters index type=application/json and type=application/x-tiddler-dictionary
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: input
type: application/x-tiddler-dictionary
01: value 01
02: value 02
+
title: input-json
type: application/json
{
"01": "value 01",
"02": "value 02"
}
+
title: Output
<$view tiddler="input-json" index="01"/>
<$view tiddler="input" index="02"/>
+
title: ExpectedResult
value 01<p>value 02</p>