mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-23 21:22:52 +00:00
503559a05c
Bug: T330527 Change-Id: I386a88481210f459d2174ff69e0f84d40fc9e3bd
81 lines
2.1 KiB
Plaintext
81 lines
2.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`tables doesnt wrap nested tables 1`] = `
|
|
"
|
|
<section class=\\"mw-parser-output\\">
|
|
<div class=\\"noresize\\"><table class=\\"wikitable\\">
|
|
<tbody>
|
|
<tr><th>table table table</th></tr>
|
|
<tr><td><table class=\\"wikitable\\"><tbody><tr><th>table table table</th></tr></tbody></table></td><td></td></tr>
|
|
</tbody>
|
|
</table></div>
|
|
</section>
|
|
"
|
|
`;
|
|
|
|
exports[`tables doesnt wrap tables that are already wrapped 1`] = `
|
|
"
|
|
<div class=\\"mw-parser-output\\">
|
|
<div>
|
|
<table>
|
|
<tbody>
|
|
<tr><th>table table table</th></tr>
|
|
<tr><td><table><tbody><tr><th>table table table</th></tr></tbody></table></td><td></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
"
|
|
`;
|
|
|
|
exports[`tables doesnt wrap tables that are not wikitables 1`] = `
|
|
"
|
|
<table>
|
|
<tbody>
|
|
<tr><th>table table table</th></tr>
|
|
<tr><td><table><tbody><tr><th>table table table</th></tr></tbody></table></td><td></td></tr>
|
|
</tbody>
|
|
</table>
|
|
"
|
|
`;
|
|
|
|
exports[`tables only wraps wikitables 1`] = `
|
|
"
|
|
<section class=\\"mw-parser-output\\">
|
|
<table>
|
|
<tbody>
|
|
<tr><th>table table table</th></tr>
|
|
<tr><td><table><tbody><tr><th>table table table</th></tr></tbody></table></td><td></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
"
|
|
`;
|
|
|
|
exports[`tables wraps multiple table with div 1`] = `
|
|
"
|
|
<section class=\\"mw-parser-output\\">
|
|
<div class=\\"noresize\\"><table class=\\"wikitable\\">
|
|
<tbody><tr><th>table table table</th></tr></tbody>
|
|
</table></div>
|
|
<div class=\\"noresize\\"><table class=\\"wikitable\\">
|
|
</table></div><div class=\\"noresize\\"><table class=\\"wikitable\\">
|
|
<tbody><tr><th>table table table</th></tr></tbody>
|
|
</table></div>
|
|
<div class=\\"noresize\\"><table class=\\"wikitable\\">
|
|
<tbody><tr><th>table table table</th></tr></tbody>
|
|
</table></div>
|
|
</section>
|
|
"
|
|
`;
|
|
|
|
exports[`tables wraps table with div 1`] = `
|
|
"
|
|
<section class=\\"mw-parser-output\\">
|
|
<div class=\\"noresize\\"><table class=\\"wikitable\\">
|
|
<tbody><tr><th>table table table</th></tr></tbody>
|
|
</table></div>
|
|
</section>
|
|
"
|
|
`;
|