app/react/components/Elements/specs/__snapshots__/StackTrace.spec.js.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`StackTrace expanded should display the full message 1`] = `
<div
className="stack-trace"
onClick={[Function]}
>
<Connect(Icon)
icon="sort"
/>
<span>
ValidationError: title: Path \`title\` is required. at new ValidationError (/Users/user/Sites/uwazi/node_modules/mongoose/lib /error/validation.js:27:11) at model.Document.invalidate (/Users/user/Sites/uwazi/node_modules/mongoose /lib/document.js:1775:32) at /Users/user/Sites/uwazi/node_modules/mongoose/lib/document.js:1647:17 at /Users/user/Sites/uwazi/node_modules/mongoose/lib/schematype.js:808:9 at _combinedTickCallback (internal/process/next_tick.js:131:7) at process._tickCallback (internal/process/next_tick.js:180:9)
</span>
<div
key="0"
>
should be number
:
.metadata['number']
</div>
<div
key="1"
>
should be a date
:
.metadata['date']
</div>
</div>
`;
exports[`StackTrace should display a shortened message 1`] = `
<div
className="stack-trace"
onClick={[Function]}
>
<Connect(Icon)
icon="sort"
/>
<span>
ValidationError: title: Path \`title\` is required. ...
</span>
</div>
`;