Skip to content

Commit

Permalink
Update tests and snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
lbebber committed Jan 10, 2020
1 parent 2b01db1 commit 55e2feb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
6 changes: 5 additions & 1 deletion react/__mocks__/vtex.render-runtime.js
Expand Up @@ -10,4 +10,8 @@ const withRuntimeContext = Component => {
return ExtendedComponent
}

export { withRuntimeContext }
const NoSSR = ({ children }) => {
return children
}

export { withRuntimeContext, NoSSR }
14 changes: 5 additions & 9 deletions react/__tests__/__snapshots__/Slider.test.js.snap
Expand Up @@ -2,15 +2,11 @@

exports[`<Slider /> component should match snapshot 1`] = `
<DocumentFragment>
<div
class="db"
>
<div>
arrow left
</div>
<div>
arrow right
</div>
<div>
arrow left
</div>
<div>
arrow right
</div>
<div
class="overflow-hidden h-100"
Expand Down
6 changes: 0 additions & 6 deletions react/__tests__/__snapshots__/SliderContainer.test.js.snap
Expand Up @@ -5,9 +5,6 @@ exports[`<SliderContainer /> component should match snapshot 1`] = `
<div
class="relative"
>
<div
class="db"
/>
<div
class="overflow-hidden h-100"
>
Expand Down Expand Up @@ -46,9 +43,6 @@ exports[`<SliderContainer /> component should match snapshot with another tag 1`
<span
class="relative"
>
<div
class="db"
/>
<div
class="overflow-hidden h-100"
>
Expand Down

0 comments on commit 55e2feb

Please sign in to comment.