Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hotinglok committed Oct 15, 2024
1 parent 68d5932 commit 1674d2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/pages/ArticlePage/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -925,10 +925,10 @@ describe('Article Page', () => {
);

it.each`
service | pathname | testDescription
${'news'} | ${'/news/articles/c1231qzyv8po.amp'} | ${'news assets not specified'}
${'sport'} | ${'/sport/articles/c1231qzyv8po.amp'} | ${'sport assets not specified'}
${'pidgin'} | ${'/pidgin/articles/c6v11qzyv8po.amp'} | ${`services which are not 'news' or 'sport'`}
service | id | testDescription
${'news'} | ${'c1231qzyv8po'} | ${'news assets not specified'}
${'sport'} | ${'c1231qzyv8po'} | ${'sport assets not specified'}
${'pidgin'} | ${'c6v11qzyv8po'} | ${`services which are not 'news' or 'sport'`}
`(
'should render page without experiment-top-stories blocks on $testDescription',
({ service, id }) => {
Expand Down

0 comments on commit 1674d2e

Please sign in to comment.