Skip to content

Commit aba658e

Browse files
committed
test(HTML) Adjust a test
Signed-off-by: Jerome Simeon <[email protected]>
1 parent 8643de7 commit aba658e

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

packages/markdown-html/src/__snapshots__/HtmlTransformer.test.js.snap

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -969,9 +969,6 @@ Object {
969969
"whenFalse": "",
970970
"whenTrue": " except for Force Majeure cases,",
971971
},
972-
Object {
973-
"$class": "org.accordproject.commonmark.Softbreak",
974-
},
975972
Object {
976973
"$class": "org.accordproject.ciceromark.Variable",
977974
"id": "seller",
@@ -1093,8 +1090,7 @@ exports[`html converts latedelivery.md to html 2`] = `
10931090
<p>And below is a <strong>clause</strong>.</p>
10941091
<div class=\\"clause\\" clauseid=\\"87721b95-7e43-4441-82c7-b4d4db207e6f\\" src=\\"https://templates.accordproject.org/archives/[email protected]\\">
10951092
<h2>Late Delivery and Penalty.</h2>
1096-
<p>In case of delayed delivery<span class=\\"conditional\\" id=\\"forceMajeure\\" whenTrue=\\" except for Force Majeure cases,\\" whenFalse=\\"\\"> except for Force Majeure cases,</span>
1097-
<span class=\\"variable\\" id=\\"seller\\">\\"Dan\\"</span> (the Seller) shall pay to <span class=\\"variable\\" id=\\"buyer\\">\\"Steve\\"</span> (the Buyer) for every <span class=\\"variable\\" id=\\"penaltyDuration\\">2 days</span>
1093+
<p>In case of delayed delivery<span class=\\"conditional\\" id=\\"forceMajeure\\" whenTrue=\\" except for Force Majeure cases,\\" whenFalse=\\"\\"> except for Force Majeure cases,</span><span class=\\"variable\\" id=\\"seller\\">\\"Dan\\"</span> (the Seller) shall pay to <span class=\\"variable\\" id=\\"buyer\\">\\"Steve\\"</span> (the Buyer) for every <span class=\\"variable\\" id=\\"penaltyDuration\\">2 days</span>
10981094
of delay penalty amounting to <span class=\\"variable\\" id=\\"penaltyPercentage\\">10.5</span>% of the total value of the Equipment
10991095
whose delivery has been delayed. Any fractional part of a <span class=\\"variable\\" id=\\"fractionalPart\\">days</span> is to be
11001096
considered a full <span class=\\"variable\\" id=\\"fractionalPart\\">days</span>. The total amount of penalty shall not however,
@@ -1170,9 +1166,6 @@ Object {
11701166
"whenFalse": "",
11711167
"whenTrue": " except for Force Majeure cases,",
11721168
},
1173-
Object {
1174-
"$class": "org.accordproject.commonmark.Softbreak",
1175-
},
11761169
Object {
11771170
"$class": "org.accordproject.ciceromark.Variable",
11781171
"id": "seller",
@@ -1294,8 +1287,7 @@ exports[`html converts latedelivery-noforce.md to html 2`] = `
12941287
<p>And below is a <strong>clause</strong>.</p>
12951288
<div class=\\"clause\\" clauseid=\\"87721b95-7e43-4441-82c7-b4d4db207e6f\\" src=\\"https://templates.accordproject.org/archives/[email protected]\\">
12961289
<h2>Late Delivery and Penalty.</h2>
1297-
<p>In case of delayed delivery<span class=\\"conditional\\" id=\\"forceMajeure\\" whenTrue=\\" except for Force Majeure cases,\\" whenFalse=\\"\\"></span>
1298-
<span class=\\"variable\\" id=\\"seller\\">\\"Dan\\"</span> (the Seller) shall pay to <span class=\\"variable\\" id=\\"buyer\\">\\"Steve\\"</span> (the Buyer) for every <span class=\\"variable\\" id=\\"penaltyDuration\\">2 days</span>
1290+
<p>In case of delayed delivery<span class=\\"conditional\\" id=\\"forceMajeure\\" whenTrue=\\" except for Force Majeure cases,\\" whenFalse=\\"\\"></span><span class=\\"variable\\" id=\\"seller\\">\\"Dan\\"</span> (the Seller) shall pay to <span class=\\"variable\\" id=\\"buyer\\">\\"Steve\\"</span> (the Buyer) for every <span class=\\"variable\\" id=\\"penaltyDuration\\">2 days</span>
12991291
of delay penalty amounting to <span class=\\"variable\\" id=\\"penaltyPercentage\\">10.5</span>% of the total value of the Equipment
13001292
whose delivery has been delayed. Any fractional part of a <span class=\\"variable\\" id=\\"fractionalPart\\">days</span> is to be
13011293
considered a full <span class=\\"variable\\" id=\\"fractionalPart\\">days</span>. The total amount of penalty shall not however,

packages/markdown-html/test/data/latedelivery-noforce.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ And below is a **clause**.
66
Late Delivery and Penalty.
77
----
88
9-
In case of delayed delivery<if id="forceMajeure" value="" whenTrue="%20except%20for%20Force%20Majeure%20cases%2C" whenFalse=""/>
10-
<variable id="seller" value="%22Dan%22"/> (the Seller) shall pay to <variable id="buyer" value="%22Steve%22"/> (the Buyer) for every <variable id="penaltyDuration" value="2%20days"/>
9+
In case of delayed delivery<if id="forceMajeure" value="" whenTrue="%20except%20for%20Force%20Majeure%20cases%2C" whenFalse=""/><variable id="seller" value="%22Dan%22"/> (the Seller) shall pay to <variable id="buyer" value="%22Steve%22"/> (the Buyer) for every <variable id="penaltyDuration" value="2%20days"/>
1110
of delay penalty amounting to <variable id="penaltyPercentage" value="10.5"/>% of the total value of the Equipment
1211
whose delivery has been delayed. Any fractional part of a <variable id="fractionalPart" value="days"/> is to be
1312
considered a full <variable id="fractionalPart" value="days"/>. The total amount of penalty shall not however,

packages/markdown-html/test/data/latedelivery.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ And below is a **clause**.
66
Late Delivery and Penalty.
77
----
88
9-
In case of delayed delivery<if id="forceMajeure" value="%20except%20for%20Force%20Majeure%20cases%2C" whenTrue="%20except%20for%20Force%20Majeure%20cases%2C" whenFalse=""/>
10-
<variable id="seller" value="%22Dan%22"/> (the Seller) shall pay to <variable id="buyer" value="%22Steve%22"/> (the Buyer) for every <variable id="penaltyDuration" value="2%20days"/>
9+
In case of delayed delivery<if id="forceMajeure" value="%20except%20for%20Force%20Majeure%20cases%2C" whenTrue="%20except%20for%20Force%20Majeure%20cases%2C" whenFalse=""/><variable id="seller" value="%22Dan%22"/> (the Seller) shall pay to <variable id="buyer" value="%22Steve%22"/> (the Buyer) for every <variable id="penaltyDuration" value="2%20days"/>
1110
of delay penalty amounting to <variable id="penaltyPercentage" value="10.5"/>% of the total value of the Equipment
1211
whose delivery has been delayed. Any fractional part of a <variable id="fractionalPart" value="days"/> is to be
1312
considered a full <variable id="fractionalPart" value="days"/>. The total amount of penalty shall not however,

0 commit comments

Comments
 (0)