Update snapshot tests from conflicting PRs
This commit is contained in:
1 parent
d3fa519492
commit
410e75d858
2 files changed
+12
-4
No files matched your search
@@ -505,10 +505,12 @@ var PropTypes = React.PropTypes;
|
||||
|
||||
var C = React.createClass({
|
||||
propTypes: {
|
||||
statistics: PropTypes.arrayOf(PropTypes.shape({
|
||||
statistics: PropTypes.arrayOf(
|
||||
PropTypes.shape({
|
||||
label: PropTypes.string.isRequired,
|
||||
value: PropTypes.number
|
||||
})).isRequired
|
||||
})
|
||||
).isRequired
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -72,10 +72,16 @@ export const log = y => {
|
||||
console.log(\'very, very, very long very, very long text\')
|
||||
};
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
const formatData = pipe(zip, map(([ref, data]) => ({
|
||||
const formatData = pipe(
|
||||
zip,
|
||||
map(([ref, data]) => ({
|
||||
nodeId: ref.nodeId.toString(),
|
||||
...attributeFromDataValue(ref.attributeId, data)
|
||||
})), groupBy(prop(\"nodeId\")), map(mergeAll), values);
|
||||
})),
|
||||
groupBy(prop(\"nodeId\")),
|
||||
map(mergeAll),
|
||||
values
|
||||
);
|
||||
|
||||
export const setProp = y => ({
|
||||
...y,
|
||||
|
||||
Reference in new issue
Block a user