Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyL0u committed Jun 20, 2024
1 parent 7a98327 commit 0b17ed1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,8 @@ exports[`RelatedContentPromoList it renders a list of Story Promos for MAP pages
}
<div>
<ol
<ul
class="emotion-0 emotion-1 emotion-2"
data-e2e="most-watched-ol"
dir="ltr"
role="list"
>
Expand Down Expand Up @@ -583,7 +582,7 @@ exports[`RelatedContentPromoList it renders a list of Story Promos for MAP pages
</div>
</div>
</li>
</ol>
</ul>
</div>
`;

Expand Down
19 changes: 2 additions & 17 deletions src/app/pages/MediaAssetPage/__snapshots__/index.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -964,10 +964,6 @@ exports[`Media Asset Page AV player should render version (live audio stream) 1`
font-size: 0.75rem;
}
.emotion-123 {
padding-bottom: 2rem;
}
<div
id="ContextsContainer"
>
Expand Down Expand Up @@ -1354,9 +1350,6 @@ exports[`Media Asset Page AV player should render version (live audio stream) 1`
</p>
</div>
</main>
<div
class="emotion-123 emotion-124"
/>
</div>
</div>
</div>
Expand Down Expand Up @@ -3144,10 +3137,6 @@ exports[`Media Asset Page should render component 1`] = `
padding: 0 0.25rem;
}
.emotion-243 {
padding-bottom: 2rem;
}
<div
id="ContextsContainer"
>
Expand Down Expand Up @@ -3661,9 +3650,8 @@ exports[`Media Asset Page should render component 1`] = `
</span>
</h2>
</div>
<ol
<ul
class="emotion-3 emotion-158 emotion-159"
data-e2e="most-watched-ol"
dir="ltr"
role="list"
>
Expand Down Expand Up @@ -3929,12 +3917,9 @@ exports[`Media Asset Page should render component 1`] = `
</div>
</div>
</li>
</ol>
</ul>
</div>
</section>
<div
class="emotion-243 emotion-244"
/>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ exports[`regex utils snapshots should create expected regex from getMostReadData

exports[`regex utils snapshots should create expected regex from getMostReadPageRegex 1`] = `"/:service(afaanoromoo|afrique|amharic|arabic|archive|azeri|bengali|burmese|cymrufyw|gahuza|gujarati|hausa|hindi|igbo|indonesia|japanese|korean|kyrgyz|marathi|mundo|naidheachdan|nepali|news|newsround|pashto|persian|pidgin|portuguese|punjabi|russian|scotland|serbian|sinhala|somali|sport|swahili|tamil|telugu|thai|tigrinya|turkce|ukchina|ukrainian|urdu|uzbek|vietnamese|ws|yoruba|zhongwen):variant(/simp|/trad|/cyr|/lat)?/popular/read:amp(.amp)?:lite(.lite)?"`;

exports[`regex utils snapshots should create expected regex from getMostWatchedDataRegex 1`] = `"/:service(afaanoromoo|afrique|amharic|arabic|archive|azeri|bengali|burmese|cymrufyw|gahuza|gujarati|hausa|hindi|igbo|indonesia|japanese|korean|kyrgyz|marathi|mundo|naidheachdan|nepali|news|newsround|pashto|persian|pidgin|portuguese|punjabi|russian|scotland|serbian|sinhala|somali|sport|swahili|tamil|telugu|thai|tigrinya|turkce|ukchina|ukrainian|urdu|uzbek|vietnamese|ws|yoruba|zhongwen)/mostwatched:variant(/simp|/trad|/cyr|/lat)?.json"`;

exports[`regex utils snapshots should create expected regex from getOnDemandRadioRegex 1`] = `"/:service(afaanoromoo|afrique|amharic|arabic|archive|azeri|bengali|burmese|cymrufyw|gahuza|gujarati|hausa|hindi|igbo|indonesia|japanese|korean|kyrgyz|marathi|mundo|naidheachdan|nepali|news|newsround|pashto|persian|pidgin|portuguese|punjabi|russian|scotland|serbian|sinhala|somali|sport|swahili|tamil|telugu|thai|tigrinya|turkce|ukchina|ukrainian|urdu|uzbek|vietnamese|ws|yoruba|zhongwen):variant(/simp|/trad|/cyr|/lat)?/:serviceId(bbc_[a-z]+_radio)(/programmes)?/:mediaId([a-z0-9]+):amp(.amp)?:lite(.lite)?"`;

exports[`regex utils snapshots should create expected regex from getOnDemandTvRegex 1`] = `"/:service(afaanoromoo|afrique|amharic|arabic|archive|azeri|bengali|burmese|cymrufyw|gahuza|gujarati|hausa|hindi|igbo|indonesia|japanese|korean|kyrgyz|marathi|mundo|naidheachdan|nepali|news|newsround|pashto|persian|pidgin|portuguese|punjabi|russian|scotland|serbian|sinhala|somali|sport|swahili|tamil|telugu|thai|tigrinya|turkce|ukchina|ukrainian|urdu|uzbek|vietnamese|ws|yoruba|zhongwen)/:serviceId(bbc_[a-z]+_tv)/:brandEpisode(tv|tv_programmes)/:mediaId([a-z0-9]+):amp(.amp)?:lite(.lite)?"`;
Expand Down

0 comments on commit 0b17ed1

Please sign in to comment.