mediawiki-skins-Vector/tests/jest/__snapshots__/dropdownMenu.test.js.snap
Jon Robson e032d68703 Remove vector-menu-dropdown-noicon class
No longer needed.

Change-Id: I3a0e7f7f2a467fc55b138fc3a9d06096c84a8f8e
2023-01-10 23:48:05 +00:00

53 lines
1.3 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`addPortletLinkHandler Adds a span with icon class to dropdown menus 1`] = `
"
<ul class=\\"vector-menu vector-menu-dropdown\\">
<li class=\\"mw-list-item mw-list-item-js\\" id=\\"test-id\\">
<a href=\\"#test-href\\">
<span>
test link content
</span>
</a>
</li>
</ul>"
`;
exports[`addPortletLinkHandler Does not add an icon when noicon class is present 1`] = `
"
<ul class=\\"vector-menu vector-menu-dropdown\\">
<li class=\\"mw-list-item mw-list-item-js\\" id=\\"test-id\\">
<a href=\\"#test-href\\">
<span>
test link content
</span>
</a>
</li>
</ul>"
`;
exports[`addPortletLinkHandler JS portlet should be moved to more menu (#p-cactions) at narrow widths 1`] = `
"
<div class=\\"mw-article-toolbar-container\\" style=\\"width:1000px\\">
<div id=\\"p-namespaces\\" style=\\"width:1001px\\"></div>
<div id=\\"p-variants\\"></div>
<div id=\\"p-cactions\\">
<ul>
</ul>
</div>
<ul id=\\"p-views\\" class=\\"vector-menu vector-menu-dropdown\\">
<li class=\\"mw-list-item mw-list-item-js\\" id=\\"test-id\\">
<a href=\\"#test-href\\">
<span>
test link content
</span>
</a>
</li>
</ul>
</div>"
`;