Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfidelis committed Jul 26, 2019
1 parent f4899b9 commit 900aaad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions react/__tests__/__snapshots__/ProductSummary.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ exports[`<ProductSummary /> component should match the snapshot for inline norma
exports[`<ProductSummary /> component should match the snapshot for inline price mode 1`] = `
<DocumentFragment>
<section
class="container containerInline overflow-hidden br3 h-100 w-100 overflow-y-auto"
class="container containerInline br3 h-100 w-100"
>
<article
class="element pointer ph2 pt3 pb4 flex flex-column h-100"
Expand Down Expand Up @@ -167,7 +167,7 @@ exports[`<ProductSummary /> component should match the snapshot for inline price
</div>
</div>
<div
class="information w-70 pb2 ph3 overflow-y-auto"
class="information w-70 pb2 ph3"
>
<div
class="flex items-start justify-left tl w-90 t-mini pb2"
Expand Down
9 changes: 8 additions & 1 deletion react/legacy/components/AttachmentList.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ const AttachmentList = ({ product }) => {

return (
<div className={`${styles.attachmentListContainer} pv2`}>
<AddedAttachmentsList addedOptions={filteredOption} />
<AddedAttachmentsList
addedOptions={[
...filteredOption,
...filteredOption,
...filteredOption,
...filteredOption,
]}
/>
<RemovedAttachmentsList removedOptions={removedOptions} />
</div>
)
Expand Down

0 comments on commit 900aaad

Please sign in to comment.