Skip to content

Commit

Permalink
redo install and snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoegel committed Nov 1, 2023
1 parent c0283c5 commit eee1fa6
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 51 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/components/SearchBox/SearchBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ export class SearchBox extends React.PureComponent<SearchBoxProps, SearchBoxStat
</PerfectScrollbarWrap>
)}
{this.state.term && this.state.noResults ? (
<SearchResultsBox data-role="search:results" className="search-no-results">{l('noResultsFound')}</SearchResultsBox>
<SearchResultsBox data-role="search:results" className="search-no-results">
{l('noResultsFound')}
</SearchResultsBox>
) : null}
</SearchWrap>
);
Expand Down
54 changes: 27 additions & 27 deletions src/components/__tests__/__snapshots__/FieldDetails.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ exports[`FieldDetailsComponent renders correctly 1`] = `
>
<div>
<span
class="sc-kEqXSa sc-iqAclL kbXjKX fIBWK"
class="sc-kpDqfm sc-dAlyuH cGRfjn gHomYR"
>
test type prefix
</span>
<span
class="sc-kEqXSa sc-crzoAE kbXjKX dPbcpi"
class="sc-kpDqfm sc-jlZhew cGRfjn dYtiIA"
>
array
</span>
<span
class="sc-kEqXSa sc-dIsUp kbXjKX jKcFhO"
class="sc-kpDqfm sc-cwHptR cGRfjn gyVIPr"
>
(test title)
</span>
Expand All @@ -25,42 +25,42 @@ exports[`FieldDetailsComponent renders correctly 1`] = `
>
<span
class="sc-kEqXSa sc-iemWCZ kbXjKX jirMag"
class="sc-kpDqfm sc-gFqAkR cGRfjn fYEICH"
>
</span>
</span>
</div>
<div>
<span
class="sc-kEqXSa kbXjKX"
class="sc-kpDqfm cGRfjn"
>
Default:
</span>
<span
class="sc-kEqXSa sc-fFSPTT kbXjKX jxiCED field-example"
class="sc-kpDqfm sc-eldPxv cGRfjn ehWiAn field-example"
>
[]
</span>
</div>
<div>
<span
class="sc-kEqXSa kbXjKX"
class="sc-kpDqfm cGRfjn"
>
Example:
</span>
<span
class="sc-kEqXSa sc-fFSPTT kbXjKX jxiCED field-example"
class="sc-kpDqfm sc-eldPxv cGRfjn ehWiAn field-example"
>
"example"
</span>
</div>
<div>
<div
class="sc-iTVJFM sc-khIgEk KQjrk bwNvGY"
class="sc-lcIPJg sc-hknOHE gBHqkN jFBMaE"
>
<p>
test description
Expand All @@ -78,15 +78,15 @@ exports[`FieldDetailsComponent renders correctly when default value is object in
>
<div>
<span
class="sc-kEqXSa sc-iqAclL kbXjKX fIBWK"
class="sc-kpDqfm sc-dAlyuH cGRfjn gHomYR"
/>
<span
class="sc-kEqXSa sc-crzoAE kbXjKX dPbcpi"
class="sc-kpDqfm sc-jlZhew cGRfjn dYtiIA"
>
object
</span>
<span
class="sc-kEqXSa sc-dIsUp kbXjKX jKcFhO"
class="sc-kpDqfm sc-cwHptR cGRfjn gyVIPr"
>
(test title)
</span>
Expand All @@ -95,42 +95,42 @@ exports[`FieldDetailsComponent renders correctly when default value is object in
>
<span
class="sc-kEqXSa sc-iemWCZ kbXjKX jirMag"
class="sc-kpDqfm sc-gFqAkR cGRfjn fYEICH"
>
</span>
</span>
</div>
<div>
<span
class="sc-kEqXSa kbXjKX"
class="sc-kpDqfm cGRfjn"
>
Default:
</span>
<span
class="sc-kEqXSa sc-fFSPTT kbXjKX jxiCED field-example"
class="sc-kpDqfm sc-eldPxv cGRfjn ehWiAn field-example"
>
{"properties":{}}
</span>
</div>
<div>
<span
class="sc-kEqXSa kbXjKX"
class="sc-kpDqfm cGRfjn"
>
Example:
</span>
<span
class="sc-kEqXSa sc-fFSPTT kbXjKX jxiCED field-example"
class="sc-kpDqfm sc-eldPxv cGRfjn ehWiAn field-example"
>
"example"
</span>
</div>
<div>
<div
class="sc-iTVJFM sc-khIgEk KQjrk bwNvGY"
class="sc-lcIPJg sc-hknOHE gBHqkN jFBMaE"
>
<p>
test description
Expand All @@ -148,15 +148,15 @@ exports[`FieldDetailsComponent renders correctly when field items have string ty
>
<div>
<span
class="sc-kEqXSa sc-iqAclL kbXjKX fIBWK"
class="sc-kpDqfm sc-dAlyuH cGRfjn gHomYR"
/>
<span
class="sc-kEqXSa sc-crzoAE kbXjKX dPbcpi"
class="sc-kpDqfm sc-jlZhew cGRfjn dYtiIA"
>
Array of strings
</span>
<span
class="sc-kEqXSa sc-dIsUp kbXjKX jKcFhO"
class="sc-kpDqfm sc-cwHptR cGRfjn gyVIPr"
>
(test title)
</span>
Expand All @@ -165,17 +165,17 @@ exports[`FieldDetailsComponent renders correctly when field items have string ty
>
<span
class="sc-kEqXSa sc-iemWCZ kbXjKX jirMag"
class="sc-kpDqfm sc-gFqAkR cGRfjn fYEICH"
>
</span>
</span>
<span
class="sc-kEqXSa sc-iqAclL sc-iIgjPs kbXjKX fIBWK dZiNhe"
class="sc-kpDqfm sc-dAlyuH sc-dxcDKg cGRfjn gHomYR gXntsr"
>
[
<span
class="sc-kEqXSa sc-fnVZcZ kbXjKX iaObLQ field-pattern"
class="sc-kpDqfm sc-eDPEul cGRfjn erJHow field-pattern"
>
^see regex[0-9]$
</span>
Expand All @@ -185,20 +185,20 @@ exports[`FieldDetailsComponent renders correctly when field items have string ty
<div>
<span
class="sc-kEqXSa kbXjKX"
class="sc-kpDqfm cGRfjn"
>
Example:
</span>
<span
class="sc-kEqXSa sc-fFSPTT kbXjKX jxiCED field-example"
class="sc-kpDqfm sc-eldPxv cGRfjn ehWiAn field-example"
>
"example"
</span>
</div>
<div>
<div
class="sc-iTVJFM sc-khIgEk KQjrk bwNvGY"
class="sc-lcIPJg sc-hknOHE gBHqkN jFBMaE"
>
<p>
test description
Expand Down
16 changes: 8 additions & 8 deletions src/components/__tests__/__snapshots__/OneOfSchema.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@ exports[`Components SchemaView OneOf deprecated should match snapshot 1`] = `
class="oneOf-schema"
>
<span
class="sc-kfYoZR juYXUf"
class="sc-fUnMCh hPwMmL"
>
One of
</span>
<div
class="sc-dlMDgC EoFth"
class="sc-feUZmu bTropM"
>
<button
class="sc-fKgJPI iEPbLk"
class="sc-hzhJZQ ilKqWS"
>
string
</button>
<button
class="sc-fKgJPI bpjiHN"
class="sc-hzhJZQ emRRrf"
>
integer
</button>
</div>
<div>
<span
class="sc-bqGGPW eSYQnm"
class="sc-jEACwC gWyYnj"
type="warning"
>
Deprecated
Expand All @@ -37,18 +37,18 @@ exports[`Components SchemaView OneOf deprecated should match snapshot 1`] = `
>
<div>
<span
class="sc-gSYDnn sc-laZMeE exYxiD lataxO"
class="sc-Nxspf sc-cfxfcM cXxAXt jrGEaR"
/>
<span
class="sc-gSYDnn sc-iNiQyp exYxiD CFShw"
class="sc-Nxspf sc-gFAWRd cXxAXt dYzdDr"
>
string
</span>
</div>
<div>
<div
class="sc-iJCRrE sc-cBoqAE jCdxGr dGTDJo"
class="sc-eeDRCY sc-eBMEME gTGgei fbXBig"
/>
</div>
</div>
Expand Down
Loading

0 comments on commit eee1fa6

Please sign in to comment.