Skip to content

Commit

Permalink
fix web test
Browse files Browse the repository at this point in the history
  • Loading branch information
times-tools committed Jan 3, 2025
1 parent 5df9df2 commit 62601e4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ exports[`3. an article with no headline falls back to use shortheadline 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="https://www.thetimes.co.uk"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down Expand Up @@ -501,7 +500,6 @@ exports[`4. an article with ads with .co.uk 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="https://www.thetimes.co.uk"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down Expand Up @@ -789,7 +787,6 @@ exports[`5. an article with ads with .com 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="www.thetimes.com"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ exports[`3. an article with no headline falls back to use shortheadline 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="https://www.thetimes.co.uk"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down Expand Up @@ -481,7 +480,6 @@ exports[`4. an article with ads with .co.uk 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="https://www.thetimes.co.uk"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down Expand Up @@ -759,7 +757,6 @@ exports[`5. an article with ads with .com 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="www.thetimes.com"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down Expand Up @@ -1053,7 +1050,6 @@ exports[`8. an article with no author 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="https://www.thetimes.co.uk"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ exports[`3. an article with no headline falls back to use shortheadline 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="https://www.thetimes.co.uk"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down Expand Up @@ -507,7 +506,6 @@ exports[`4. an article with ads with .co.uk 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="https://www.thetimes.co.uk"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down Expand Up @@ -798,7 +796,6 @@ exports[`5. an article with ads with .com 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="www.thetimes.com"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ exports[`3. an article with no headline falls back to use shortheadline 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="https://www.thetimes.co.uk"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down Expand Up @@ -451,7 +450,6 @@ exports[`4. an article with ads with .co.uk 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="https://www.thetimes.co.uk"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down Expand Up @@ -714,7 +712,6 @@ exports[`5. an article with ads with .com 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="www.thetimes.com"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down Expand Up @@ -1042,7 +1039,6 @@ exports[`6. an article with puzzle sidebar 1`] = `
articleUrl="https://url.io"
commentsEnabled={true}
domainSpecificUrl="https://www.thetimes.co.uk"
isCommentEnabled={true}
isSharingSavingEnabled={true}
publishedTime="2015-03-13T18:54:58.000Z"
relatedArticleSlice={
Expand Down
6 changes: 1 addition & 5 deletions packages/article-skeleton/src/article-skeleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ const ArticleSkeleton = ({
sharingEnabled,
publishedTime,
isSavingEnabled,
isSharingEnabled,
isCommentEnabled,
isEntitlementFeatureEnabled
isSharingEnabled
} = article;

const [showVerifyEmailBanner, setShowEmailVerifyBanner] = useState(false);
Expand Down Expand Up @@ -448,11 +446,9 @@ const ArticleSkeleton = ({
commentingConfig={commentingConfig}
topics={topics}
isSharingSavingEnabled={isSharingSavingEnabled}
isCommentEnabled={isCommentEnabled}
storefrontConfig={storefrontConfig}
breadcrumbs={breadcrumbs}
domainSpecificUrl={domainSpecificUrl}
isEntitlementFeatureEnabled={isEntitlementFeatureEnabled}
/>
)}
</LazyLoad>
Expand Down

0 comments on commit 62601e4

Please sign in to comment.