mediawiki-skins-Vector/tests/jest/__snapshots__/App.test.js.snap
Jon Robson 98bee1c71f Allow gadget/browser extension extensibility of empty search state
Add hook that renders when search displays for first time to allow
experimentation.

Code can call
```
mw.hook( 'search.display' ).add((node)=> { node.innerHTML = 'hello world' } );

Bug: T371294
Change-Id: Ib3ec73b8ed66877c11e0d8d290a6b564a013702b
2024-08-08 21:19:27 +01:00

36 lines
707 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`App renders a typeahead search component 1`] = `
<cdx-typeahead-search
accesskey="f"
aria-label="Search MediaWiki"
auto-expand-width="false"
button-label="searchbutton"
class="vector-typeahead-search"
form-action=""
highlight-query="true"
id="searchform"
initial-input-value=""
placeholder="Search MediaWiki"
search-footer-url=""
search-results=""
search-results-label="searchresults"
show-thumbnail="true"
title="search"
>
<div>
empty
</div>
<input
name="title"
type="hidden"
value="Special:Search"
/>
<input
name="wprov"
type="hidden"
value="acrw1_-1"
/>
</cdx-typeahead-search>
`;