232 passing (129ms) 2 pending 8 failing
{
"descr": 'wikiattr; unprefixed; w/ other "mkdn" constructs; near lists; after',
"mkdn":
`- list-item-1
- list-item-2
- list-item-3
attrtype::[[fname-a]]
`,
"html":
`<aside class="attrbox">
<span class="attrbox-title">Attributes</span>
<dl>
<dt>attrtype</dt>
<dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd>
</dl>
</aside>
<ul>
<li>list-item-1</li>
<li>list-item-2</li>
<li>list-item-3</li>
</ul>
`,
},
1) micromark-wikirefs
"mkdn" -> "html"
[050] wikiattr; unprefixed; w/ other "mkdn" constructs; near lists; after:
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '<ul><li>list-item-1</li><li>list-item-2</li><li><aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside>list-item-3</li></ul>'
- '<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside><ul><li>list-item-1</li><li>list-item-2</li><li>list-item-3</li></ul>'
+ expected - actual
-<ul><li>list-item-1</li><li>list-item-2</li><li><aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside>list-item-3</li></ul>
+<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside><ul><li>list-item-1</li><li>list-item-2</li><li>list-item-3</li></ul>
at Context.<anonymous> (file:///Users/code/wikibonsai/remark-wikirefs/micromark-extension-wikirefs/test/tests/runner.spec.ts:69:16)
at processImmediate (node:internal/timers:475:21)
{
"descr": 'wikiattr; unprefixed; w/ other "mkdn" constructs; near lists; immediate after',
"mkdn":
`- list-item-1
- list-item-2
- list-item-3
attrtype::[[fname-a]]
`,
"html":
`<aside class="attrbox">
<span class="attrbox-title">Attributes</span>
<dl>
<dt>attrtype</dt>
<dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd>
</dl>
</aside>
<ul>
<li>list-item-1</li>
<li>list-item-2</li>
<li>list-item-3</li>
</ul>
`,
},
2) micromark-wikirefs
"mkdn" -> "html"
[051] wikiattr; unprefixed; w/ other "mkdn" constructs; near lists; immediate after:
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '<ul><li>list-item-1</li><li>list-item-2</li><li><aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside>list-item-3</li></ul>'
- '<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside><ul><li>list-item-1</li><li>list-item-2</li><li>list-item-3</li></ul>'
+ expected - actual
-<ul><li>list-item-1</li><li>list-item-2</li><li><aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside>list-item-3</li></ul>
+<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside><ul><li>list-item-1</li><li>list-item-2</li><li>list-item-3</li></ul>
at Context.<anonymous> (file:///Users/code/wikibonsai/remark-wikirefs/micromark-extension-wikirefs/test/tests/runner.spec.ts:69:16)
at processImmediate (node:internal/timers:475:21)
{
"descr": 'wikiattr; unprefixed; malformed; list; "mkdn"-separated; items not [[bracketed]]',
"mkdn":
`attrtype3::
- string
- string
`,
"html":
`<p>attrtype3::</p>
<ul>
<li>string</li>
<li>string</li>
</ul>
`,
},
3) micromark-wikirefs
"mkdn" -> "html"
[061] wikiattr; unprefixed; malformed; list; "mkdn"-separated; items not [[bracketed]]:
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '<p>attrtype3::- string</p><ul><li>string</li></ul>'
- '<p>attrtype3::</p><ul><li>string</li><li>string</li></ul>'
+ expected - actual
-<p>attrtype3::- string</p><ul><li>string</li></ul>
+<p>attrtype3::</p><ul><li>string</li><li>string</li></ul>
at Context.<anonymous> (file:///Users/code/wikibonsai/remark-wikirefs/micromark-extension-wikirefs/test/tests/runner.spec.ts:69:16)
at processImmediate (node:internal/timers:475:21)
{
"descr": 'wikiattr; prefixed; w/ other "mkdn" constructs; near lists; after',
"mkdn":
`- list-item-1
- list-item-2
- list-item-3
:attrtype::[[fname-a]]
`,
"html":
`<aside class="attrbox">
<span class="attrbox-title">Attributes</span>
<dl>
<dt>attrtype</dt>
<dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd>
</dl>
</aside>
<ul>
<li>list-item-1</li>
<li>list-item-2</li>
<li>list-item-3</li>
</ul>
`,
},
4) micromark-wikirefs
"mkdn" -> "html"
[111] wikiattr; prefixed; w/ other "mkdn" constructs; near lists; after:
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '<ul><li>list-item-1</li><li>list-item-2</li><li><aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside>list-item-3</li></ul>'
- '<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside><ul><li>list-item-1</li><li>list-item-2</li><li>list-item-3</li></ul>'
+ expected - actual
-<ul><li>list-item-1</li><li>list-item-2</li><li><aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside>list-item-3</li></ul>
+<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside><ul><li>list-item-1</li><li>list-item-2</li><li>list-item-3</li></ul>
at Context.<anonymous> (file:///Users/code/wikibonsai/remark-wikirefs/micromark-extension-wikirefs/test/tests/runner.spec.ts:69:16)
at processImmediate (node:internal/timers:475:21)
{
"descr": 'wikiattr; prefixed; w/ other "mkdn" constructs; near lists; immediate after',
"mkdn":
`- list-item-1
- list-item-2
- list-item-3
:attrtype::[[fname-a]]
`,
"html":
`<aside class="attrbox">
<span class="attrbox-title">Attributes</span>
<dl>
<dt>attrtype</dt>
<dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd>
</dl>
</aside>
<ul>
<li>list-item-1</li>
<li>list-item-2</li>
<li>list-item-3</li>
</ul>
`,
},
5) micromark-wikirefs
"mkdn" -> "html"
[112] wikiattr; prefixed; w/ other "mkdn" constructs; near lists; immediate after:
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '<ul><li>list-item-1</li><li>list-item-2</li><li><aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside>list-item-3</li></ul>'
- '<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside><ul><li>list-item-1</li><li>list-item-2</li><li>list-item-3</li></ul>'
+ expected - actual
-<ul><li>list-item-1</li><li>list-item-2</li><li><aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside>list-item-3</li></ul>
+<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype</dt><dd><a class="attr wiki reftype__attrtype" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd></dl></aside><ul><li>list-item-1</li><li>list-item-2</li><li>list-item-3</li></ul>
at Context.<anonymous> (file:///Users/code/wikibonsai/remark-wikirefs/micromark-extension-wikirefs/test/tests/runner.spec.ts:69:16)
at processImmediate (node:internal/timers:475:21)
{
"descr": 'wikiattr; prefixed; malformed; list; "mkdn"-separated; items not [[bracketed]]',
"mkdn":
`:attrtype3::
- string
- string
`,
"html":
`<p>:attrtype3::</p>
<ul>
<li>string</li>
<li>string</li>
</ul>
`,
},
6) micromark-wikirefs
"mkdn" -> "html"
[122] wikiattr; prefixed; malformed; list; "mkdn"-separated; items not [[bracketed]]:
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '<p>:attrtype3::- string</p><ul><li>string</li></ul>'
- '<p>:attrtype3::</p><ul><li>string</li><li>string</li></ul>'
+ expected - actual
-<p>:attrtype3::- string</p><ul><li>string</li></ul>
+<p>:attrtype3::</p><ul><li>string</li><li>string</li></ul>
at Context.<anonymous> (file:///Users/code/wikibonsai/remark-wikirefs/micromark-extension-wikirefs/test/tests/runner.spec.ts:69:16)
at processImmediate (node:internal/timers:475:21)
{
"descr": 'wikiattr; mixed; wikirefs + caml; wiki multi single, caml "mkdn" list',
"mkdn":
`:attrtype1::[[fname-a]]
:attrtype2::[[fname-b]]
:attrtype3::
- string
- string
`,
"html":
`<aside class="attrbox">
<span class="attrbox-title">Attributes</span>
<dl>
<dt>attrtype1</dt>
<dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd>
<dt>attrtype2</dt>
<dd><a class="attr wiki reftype__attrtype2" href="/tests/fixtures/fname-b" data-href="/tests/fixtures/fname-b">title b</a></dd>
</dl>
</aside>
<p>:attrtype3::</p>
<ul>
<li>string</li>
<li>string</li>
</ul>
`,
},
7) micromark-wikirefs
"mkdn" -> "html"
[126] wikiattr; mixed; wikirefs + caml; wiki multi single, caml "mkdn" list:
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype1</dt><dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd><dt>attrtype2</dt><dd><a class="attr wiki reftype__attrtype2" href="/tests/fixtures/fname-b" data-href="/tests/fixtures/fname-b">title b</a></dd></dl></aside><p>:attrtype3::- string</p><ul><li>string</li></ul>'
- '<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype1</dt><dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd><dt>attrtype2</dt><dd><a class="attr wiki reftype__attrtype2" href="/tests/fixtures/fname-b" data-href="/tests/fixtures/fname-b">title b</a></dd></dl></aside><p>:attrtype3::</p><ul><li>string</li><li>string</li></ul>'
+ expected - actual
-<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype1</dt><dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd><dt>attrtype2</dt><dd><a class="attr wiki reftype__attrtype2" href="/tests/fixtures/fname-b" data-href="/tests/fixtures/fname-b">title b</a></dd></dl></aside><p>:attrtype3::- string</p><ul><li>string</li></ul>
+<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype1</dt><dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd><dt>attrtype2</dt><dd><a class="attr wiki reftype__attrtype2" href="/tests/fixtures/fname-b" data-href="/tests/fixtures/fname-b">title b</a></dd></dl></aside><p>:attrtype3::</p><ul><li>string</li><li>string</li></ul>
at Context.<anonymous> (file:///Users/code/wikibonsai/remark-wikirefs/micromark-extension-wikirefs/test/tests/runner.spec.ts:69:16)
at processImmediate (node:internal/timers:475:21)
{
"descr": 'wikiattr; mixed; wikirefs + caml; wiki "mkdn" list, caml "mkdn" list',
"mkdn":
`:attrtype1::
- [[fname-a]]
- [[fname-b]]
:attrtype2::
- string
- string
`,
"html":
`<aside class="attrbox">
<span class="attrbox-title">Attributes</span>
<dl>
<dt>attrtype1</dt>
<dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd>
<dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-b" data-href="/tests/fixtures/fname-b">title b</a></dd>
</dl>
</aside>
<p>:attrtype2::</p>
<ul>
<li>string</li>
<li>string</li>
</ul>
`,
},
8) micromark-wikirefs
"mkdn" -> "html"
[128] wikiattr; mixed; wikirefs + caml; wiki "mkdn" list, caml "mkdn" list:
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype1</dt><dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd><dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-b" data-href="/tests/fixtures/fname-b">title b</a></dd></dl></aside><p>:attrtype2::- string</p><ul><li>string</li></ul>'
- '<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype1</dt><dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd><dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-b" data-href="/tests/fixtures/fname-b">title b</a></dd></dl></aside><p>:attrtype2::</p><ul><li>string</li><li>string</li></ul>'
+ expected - actual
-<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype1</dt><dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd><dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-b" data-href="/tests/fixtures/fname-b">title b</a></dd></dl></aside><p>:attrtype2::- string</p><ul><li>string</li></ul>
+<aside class="attrbox"><span class="attrbox-title">Attributes</span><dl><dt>attrtype1</dt><dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-a" data-href="/tests/fixtures/fname-a">title a</a></dd><dd><a class="attr wiki reftype__attrtype1" href="/tests/fixtures/fname-b" data-href="/tests/fixtures/fname-b">title b</a></dd></dl></aside><p>:attrtype2::</p><ul><li>string</li><li>string</li></ul>
at Context.<anonymous> (file:///Users/code/wikibonsai/remark-wikirefs/micromark-extension-wikirefs/test/tests/runner.spec.ts:69:16)
at processImmediate (node:internal/timers:475:21)