Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jducro committed Feb 15, 2019
1 parent 3806707 commit af548d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports[`+++capturing Snapshot of NumericRangeInput 1`] = `
className="value"
onClick={[Function]}
>
12582912 MB to 20971520 MB
__ MB to __ MB
</span>
</div>
<div
Expand All @@ -40,7 +40,7 @@ exports[`+++capturing Snapshot of NumericRangeInput with custom convert 1`] = `
className="value"
onClick={[Function]}
>
12 MB to 20 MB
__ MB to __ MB
</span>
</div>
<div
Expand Down
8 changes: 6 additions & 2 deletions tests/jest/components/testNumericRangeInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const convertToValue = value => value * 1024 * 1024;
it('+++capturing Snapshot of NumericRangeInput', () => {
const token = {
type: 'user-message',
value: [12582912, 20971520]
value: {
range: [12582912, 20971520]
},
};
const renderedValue = renderer.create(
<NumericRangeInput
Expand All @@ -26,7 +28,9 @@ it('+++capturing Snapshot of NumericRangeInput', () => {
it('+++capturing Snapshot of NumericRangeInput with custom convert', () => {
const token = {
type: 'user-message',
value: [12582912, 20971520]
value: {
range: [12582912, 20971520]
},
};
const renderedValue = renderer.create(
<NumericRangeInput
Expand Down

0 comments on commit af548d0

Please sign in to comment.