Skip to content

Commit 6bb291a

Browse files
committed
Restore spacings in snapshots(fix jest test)
Signed-off-by: Aleksandr Tuliakov <[email protected]>
1 parent 51d7a62 commit 6bb291a

File tree

5 files changed

+19
-7
lines changed

5 files changed

+19
-7
lines changed

public/containers/IndexForm/__snapshots__/IndexForm.test.tsx.snap

+5-2
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ exports[`<IndexForm /> spec render page 1`] = `
9595
class="euiText euiText--small"
9696
>
9797
<h3>
98-
Index alias
98+
Index alias
9999
<i>
100100
– optional
101101
</i>
@@ -220,7 +220,7 @@ exports[`<IndexForm /> spec render page 1`] = `
220220
style="padding-top: 0px; padding-bottom: 4px;"
221221
>
222222
<div>
223-
Specify the number of primary shards for the index. Default is 1.
223+
Specify the number of primary shards for the index. Default is 1.
224224
</div>
225225
<div>
226226
The number of primary shards cannot be changed after the index is created.
@@ -417,6 +417,7 @@ exports[`<IndexForm /> spec render page 1`] = `
417417
>
418418
<p>
419419
Specify a comma-delimited list of settings.
420+
420421
<a
421422
class="euiLink euiLink--primary"
422423
href="https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/index-settings/#index-level-index-settings"
@@ -434,6 +435,7 @@ exports[`<IndexForm /> spec render page 1`] = `
434435
</p>
435436
<p>
436437
All the settings will be handled in flat structure.
438+
437439
<a
438440
class="euiLink euiLink--primary"
439441
href="https://opensearch.org/docs/undefined/api-reference/index-apis/get-index/#query-parameters"
@@ -604,6 +606,7 @@ exports[`<IndexForm /> spec render page 1`] = `
604606
>
605607
<div>
606608
Define how documents and their fields are stored and indexed.
609+
607610
<a
608611
class="euiLink euiLink--primary"
609612
href="https://opensearch.org/docs/undefined/opensearch/mappings/"

public/pages/CreateIndexTemplate/containers/CreateIndexTemplate/__snapshots__/CreateIndexTemplate.test.tsx.snap

+3
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ exports[`<CreateIndexTemplate /> spec render template pages 1`] = `
457457
>
458458
<p>
459459
Specify a comma-delimited list of settings.
460+
460461
<a
461462
class="euiLink euiLink--primary"
462463
href="https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/index-settings/#index-level-index-settings"
@@ -474,6 +475,7 @@ exports[`<CreateIndexTemplate /> spec render template pages 1`] = `
474475
</p>
475476
<p>
476477
All the settings will be handled in flat structure.
478+
477479
<a
478480
class="euiLink euiLink--primary"
479481
href="https://opensearch.org/docs/latest/api-reference/index-apis/get-index/#query-parameters"
@@ -640,6 +642,7 @@ exports[`<CreateIndexTemplate /> spec render template pages 1`] = `
640642
>
641643
<div>
642644
Define how documents and their fields are stored and indexed.
645+
643646
<a
644647
class="euiLink euiLink--primary"
645648
href="https://opensearch.org/docs/undefined/opensearch/mappings/"

public/pages/CreateIndexTemplate/containers/TemplateDetail/__snapshots__/TemplateDetail.test.tsx.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ exports[`<TemplateDetail /> spec render component in non-edit-mode 1`] = `
2929
>
3030
<div>
3131
Index templates let you initialize new indexes with predefined mappings and settings.
32+
3233
<a
3334
class="euiLink euiLink--primary"
3435
href="https://opensearch.org/docs/latest/opensearch/index-templates"
@@ -869,6 +870,7 @@ exports[`<TemplateDetail /> spec render component in non-edit-mode 1`] = `
869870
>
870871
<p>
871872
Specify a comma-delimited list of settings.
873+
872874
<a
873875
class="euiLink euiLink--primary"
874876
href="https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/index-settings/#index-level-index-settings"
@@ -886,7 +888,7 @@ exports[`<TemplateDetail /> spec render component in non-edit-mode 1`] = `
886888
</p>
887889
<p>
888890
All the settings will be handled in flat structure.
889-
891+
890892
<a
891893
class="euiLink euiLink--primary"
892894
href="https://opensearch.org/docs/latest/api-reference/index-apis/get-index/#query-parameters"
@@ -1050,6 +1052,7 @@ exports[`<TemplateDetail /> spec render component in non-edit-mode 1`] = `
10501052
>
10511053
<div>
10521054
Define how documents and their fields are stored and indexed.
1055+
10531056
<a
10541057
class="euiLink euiLink--primary"
10551058
href="https://opensearch.org/docs/undefined/opensearch/mappings/"

public/pages/Reindex/components/CreateIndexFlyout/__snapshots__/CreateIndexFlyout.test.tsx.snap

+6-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Object {
3939
<h2
4040
id="flyoutTitle"
4141
>
42-
Create Index
42+
Create Index
4343
</h2>
4444
</div>
4545
</div>
@@ -146,7 +146,7 @@ Object {
146146
class="euiText euiText--small"
147147
>
148148
<h3>
149-
Index alias
149+
Index alias
150150
<i>
151151
– optional
152152
</i>
@@ -271,7 +271,7 @@ Object {
271271
style="padding-top: 0px; padding-bottom: 4px;"
272272
>
273273
<div>
274-
Specify the number of primary shards for the index. Default is 1.
274+
Specify the number of primary shards for the index. Default is 1.
275275
</div>
276276
<div>
277277
The number of primary shards cannot be changed after the index is created.
@@ -468,6 +468,7 @@ Object {
468468
>
469469
<p>
470470
Specify a comma-delimited list of settings.
471+
471472
<a
472473
class="euiLink euiLink--primary"
473474
href="https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/index-settings/#index-level-index-settings"
@@ -485,6 +486,7 @@ Object {
485486
</p>
486487
<p>
487488
All the settings will be handled in flat structure.
489+
488490
<a
489491
class="euiLink euiLink--primary"
490492
href="https://opensearch.org/docs/undefined/api-reference/index-apis/get-index/#query-parameters"
@@ -659,6 +661,7 @@ Object {
659661
>
660662
<div>
661663
Define how documents and their fields are stored and indexed.
664+
662665
<a
663666
class="euiLink euiLink--primary"
664667
href="https://opensearch.org/docs/undefined/opensearch/mappings/"

public/pages/ShrinkIndex/container/ShrinkIndex/__snapshots__/ShrinkIndex.test.tsx.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ exports[`<Shrink index /> spec renders the component 1`] = `
387387
class="euiText euiText--small"
388388
>
389389
<h3>
390-
Index alias
390+
Index alias
391391
<i>
392392
– optional
393393
</i>

0 commit comments

Comments
 (0)