Skip to content

Commit 90133d1

Browse files
CCM-10241 Backing out whitespace changes to snapshot files and excluding
1 parent e69809e commit 90133d1

File tree

23 files changed

+210
-209
lines changed

23 files changed

+210
-209
lines changed

frontend/src/__tests__/app/invalid-template/__snapshots__/page.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ exports[`InvalidTemplatePage 1`] = `
1818
Sorry, we could not find that page
1919
</h1>
2020
<p>
21-
You may have typed or pasted a web address incorrectly.
21+
You may have typed or pasted a web address incorrectly.
2222
<a
2323
href="/create-and-submit-templates"
2424
>

frontend/src/__tests__/components/forms/ChooseTemplate/__snapshots__/ChooseTemplate.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ exports[`Choose template page Client-side validation triggers 1`] = `
9595
<span
9696
class="nhsuk-u-visually-hidden"
9797
>
98-
Error:
98+
Error:
9999
</span>
100100
Select a template type
101101
</span>

frontend/src/__tests__/components/forms/CopyTemplate/__snapshots__/CopyTemplate.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ exports[`Choose template page Client-side validation triggers 1`] = `
9494
<span
9595
class="nhsuk-u-visually-hidden"
9696
>
97-
Error:
97+
Error:
9898
</span>
9999
Select a template type
100100
</span>

frontend/src/__tests__/components/forms/EmailTemplateForm/__snapshots__/EmailTemplateForm.test.tsx.snap

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ exports[`Client-side validation triggers 1`] = `
265265
data-testid="custom-personalisation-fields-text"
266266
>
267267
<p>
268-
You can add
268+
You can add
269269
<a
270270
href="/using-nhs-notify/personalisation#custom-personalisation-fields"
271271
rel="noopener noreferrer"
@@ -276,15 +276,15 @@ exports[`Client-side validation triggers 1`] = `
276276
that use your own personalisation data.
277277
</p>
278278
<p>
279-
Include custom personalisation fields in your content. Then provide your custom personalisation data using
279+
Include custom personalisation fields in your content. Then provide your custom personalisation data using
280280
<a
281281
href="/using-nhs-notify/api"
282282
rel="noopener noreferrer"
283283
target="_blank"
284284
>
285285
NHS Notify API
286286
</a>
287-
or
287+
or
288288
<a
289289
href="/using-nhs-notify/mesh"
290290
rel="noopener noreferrer"
@@ -359,9 +359,9 @@ exports[`Client-side validation triggers 1`] = `
359359
<code
360360
aria-describedby="linebreaks-markdown-description"
361361
>
362-
line 1
363-
line 2
364-
line 3
362+
line 1
363+
line 2
364+
line 3
365365
</code>
366366
</pre>
367367
<p>
@@ -845,7 +845,7 @@ exports[`renders page one error 1`] = `
845845
<span
846846
class="nhsuk-u-visually-hidden"
847847
>
848-
Error:
848+
Error:
849849
</span>
850850
Template name error
851851
</span>
@@ -1013,7 +1013,7 @@ exports[`renders page one error 1`] = `
10131013
data-testid="custom-personalisation-fields-text"
10141014
>
10151015
<p>
1016-
You can add
1016+
You can add
10171017
<a
10181018
href="/using-nhs-notify/personalisation#custom-personalisation-fields"
10191019
rel="noopener noreferrer"
@@ -1024,15 +1024,15 @@ exports[`renders page one error 1`] = `
10241024
that use your own personalisation data.
10251025
</p>
10261026
<p>
1027-
Include custom personalisation fields in your content. Then provide your custom personalisation data using
1027+
Include custom personalisation fields in your content. Then provide your custom personalisation data using
10281028
<a
10291029
href="/using-nhs-notify/api"
10301030
rel="noopener noreferrer"
10311031
target="_blank"
10321032
>
10331033
NHS Notify API
10341034
</a>
1035-
or
1035+
or
10361036
<a
10371037
href="/using-nhs-notify/mesh"
10381038
rel="noopener noreferrer"
@@ -1107,9 +1107,9 @@ exports[`renders page one error 1`] = `
11071107
<code
11081108
aria-describedby="linebreaks-markdown-description"
11091109
>
1110-
line 1
1111-
line 2
1112-
line 3
1110+
line 1
1111+
line 2
1112+
line 3
11131113
</code>
11141114
</pre>
11151115
<p>
@@ -1597,7 +1597,7 @@ exports[`renders page with multiple errors 1`] = `
15971597
<span
15981598
class="nhsuk-u-visually-hidden"
15991599
>
1600-
Error:
1600+
Error:
16011601
</span>
16021602
Template name error
16031603
</span>
@@ -1632,7 +1632,7 @@ exports[`renders page with multiple errors 1`] = `
16321632
<span
16331633
class="nhsuk-u-visually-hidden"
16341634
>
1635-
Error:
1635+
Error:
16361636
</span>
16371637
Template subject line error
16381638
</span>
@@ -1668,7 +1668,7 @@ exports[`renders page with multiple errors 1`] = `
16681668
<span
16691669
class="nhsuk-u-visually-hidden"
16701670
>
1671-
Error:
1671+
Error:
16721672
</span>
16731673
Template message error
16741674
</span>
@@ -1789,7 +1789,7 @@ exports[`renders page with multiple errors 1`] = `
17891789
data-testid="custom-personalisation-fields-text"
17901790
>
17911791
<p>
1792-
You can add
1792+
You can add
17931793
<a
17941794
href="/using-nhs-notify/personalisation#custom-personalisation-fields"
17951795
rel="noopener noreferrer"
@@ -1800,15 +1800,15 @@ exports[`renders page with multiple errors 1`] = `
18001800
that use your own personalisation data.
18011801
</p>
18021802
<p>
1803-
Include custom personalisation fields in your content. Then provide your custom personalisation data using
1803+
Include custom personalisation fields in your content. Then provide your custom personalisation data using
18041804
<a
18051805
href="/using-nhs-notify/api"
18061806
rel="noopener noreferrer"
18071807
target="_blank"
18081808
>
18091809
NHS Notify API
18101810
</a>
1811-
or
1811+
or
18121812
<a
18131813
href="/using-nhs-notify/mesh"
18141814
rel="noopener noreferrer"
@@ -1883,9 +1883,9 @@ exports[`renders page with multiple errors 1`] = `
18831883
<code
18841884
aria-describedby="linebreaks-markdown-description"
18851885
>
1886-
line 1
1887-
line 2
1888-
line 3
1886+
line 1
1887+
line 2
1888+
line 3
18891889
</code>
18901890
</pre>
18911891
<p>
@@ -2492,7 +2492,7 @@ exports[`renders page with preloaded field values 1`] = `
24922492
data-testid="custom-personalisation-fields-text"
24932493
>
24942494
<p>
2495-
You can add
2495+
You can add
24962496
<a
24972497
href="/using-nhs-notify/personalisation#custom-personalisation-fields"
24982498
rel="noopener noreferrer"
@@ -2503,15 +2503,15 @@ exports[`renders page with preloaded field values 1`] = `
25032503
that use your own personalisation data.
25042504
</p>
25052505
<p>
2506-
Include custom personalisation fields in your content. Then provide your custom personalisation data using
2506+
Include custom personalisation fields in your content. Then provide your custom personalisation data using
25072507
<a
25082508
href="/using-nhs-notify/api"
25092509
rel="noopener noreferrer"
25102510
target="_blank"
25112511
>
25122512
NHS Notify API
25132513
</a>
2514-
or
2514+
or
25152515
<a
25162516
href="/using-nhs-notify/mesh"
25172517
rel="noopener noreferrer"
@@ -2586,9 +2586,9 @@ exports[`renders page with preloaded field values 1`] = `
25862586
<code
25872587
aria-describedby="linebreaks-markdown-description"
25882588
>
2589-
line 1
2590-
line 2
2591-
line 3
2589+
line 1
2590+
line 2
2591+
line 3
25922592
</code>
25932593
</pre>
25942594
<p>
@@ -3188,7 +3188,7 @@ exports[`renders page without back link for initial state with id - edit mode 1`
31883188
data-testid="custom-personalisation-fields-text"
31893189
>
31903190
<p>
3191-
You can add
3191+
You can add
31923192
<a
31933193
href="/using-nhs-notify/personalisation#custom-personalisation-fields"
31943194
rel="noopener noreferrer"
@@ -3199,15 +3199,15 @@ exports[`renders page without back link for initial state with id - edit mode 1`
31993199
that use your own personalisation data.
32003200
</p>
32013201
<p>
3202-
Include custom personalisation fields in your content. Then provide your custom personalisation data using
3202+
Include custom personalisation fields in your content. Then provide your custom personalisation data using
32033203
<a
32043204
href="/using-nhs-notify/api"
32053205
rel="noopener noreferrer"
32063206
target="_blank"
32073207
>
32083208
NHS Notify API
32093209
</a>
3210-
or
3210+
or
32113211
<a
32123212
href="/using-nhs-notify/mesh"
32133213
rel="noopener noreferrer"
@@ -3282,9 +3282,9 @@ exports[`renders page without back link for initial state with id - edit mode 1`
32823282
<code
32833283
aria-describedby="linebreaks-markdown-description"
32843284
>
3285-
line 1
3286-
line 2
3287-
line 3
3285+
line 1
3286+
line 2
3287+
line 3
32883288
</code>
32893289
</pre>
32903290
<p>

frontend/src/__tests__/components/forms/LetterTemplateForm.test.tsx/__snapshots__/LetterTemplateForm.test.tsx.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ exports[`Client-side validation triggers 1`] = `
142142
<span
143143
class="nhsuk-u-visually-hidden"
144144
>
145-
Error:
145+
Error:
146146
</span>
147147
Enter a template name
148148
</span>
@@ -397,7 +397,7 @@ exports[`Client-side validation triggers 1`] = `
397397
<span
398398
class="nhsuk-u-visually-hidden"
399399
>
400-
Error:
400+
Error:
401401
</span>
402402
Select a letter template PDF
403403
</span>
@@ -1028,7 +1028,7 @@ exports[`renders page one error 1`] = `
10281028
<span
10291029
class="nhsuk-u-visually-hidden"
10301030
>
1031-
Error:
1031+
Error:
10321032
</span>
10331033
Template name error
10341034
</span>
@@ -1514,7 +1514,7 @@ exports[`renders page with multiple errors 1`] = `
15141514
<span
15151515
class="nhsuk-u-visually-hidden"
15161516
>
1517-
Error:
1517+
Error:
15181518
</span>
15191519
Template name error
15201520
</span>
@@ -1770,7 +1770,7 @@ exports[`renders page with multiple errors 1`] = `
17701770
<span
17711771
class="nhsuk-u-visually-hidden"
17721772
>
1773-
Error:
1773+
Error:
17741774
</span>
17751775
PDF error
17761776
</span>
@@ -1816,7 +1816,7 @@ exports[`renders page with multiple errors 1`] = `
18161816
<span
18171817
class="nhsuk-u-visually-hidden"
18181818
>
1819-
Error:
1819+
Error:
18201820
</span>
18211821
CSV error
18221822
</span>
@@ -2182,7 +2182,7 @@ exports[`renders page with preloaded field values 1`] = `
21822182
<span
21832183
class="nhsuk-u-visually-hidden"
21842184
>
2185-
Important:
2185+
Important:
21862186
</span>
21872187
Check your personalisation fields
21882188
</span>
@@ -2619,7 +2619,7 @@ exports[`shows right-to-left language warning when language changes 1`] = `
26192619
<span
26202620
class="nhsuk-u-visually-hidden"
26212621
>
2622-
Important:
2622+
Important:
26232623
</span>
26242624
Check your personalisation fields
26252625
</span>

0 commit comments

Comments
 (0)