app/react/Viewer/specs/__snapshots__/PDFView.spec.js.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PDFView when raw should render link canonical to the not raw version 1`] = `
Array [
<SideEffect(NullComponent)
defer={true}
encodeSpecialCharacters={true}
link={
Array [
Object {
"href": "/entity/a2b4c3?page=1&file=1234.pdf",
"rel": "canonical",
},
]
}
>
<NullComponent
defer={true}
encodeSpecialCharacters={true}
link={
Array [
Object {
"href": "/entity/a2b4c3?page=1&file=1234.pdf",
"rel": "canonical",
},
]
}
/>
</SideEffect(NullComponent)>,
<NullComponent
defer={true}
encodeSpecialCharacters={true}
link={
Array [
Object {
"href": "/entity/a2b4c3?page=1&file=1234.pdf",
"rel": "canonical",
},
]
}
/>,
]
`;
exports[`PDFView when raw when page is undefined should render link canonical with a default page 1`] = `
Array [
<SideEffect(NullComponent)
defer={true}
encodeSpecialCharacters={true}
link={
Array [
Object {
"href": "/entity/a2b4c3?page=1&file=1234.pdf",
"rel": "canonical",
},
]
}
>
<NullComponent
defer={true}
encodeSpecialCharacters={true}
link={
Array [
Object {
"href": "/entity/a2b4c3?page=1&file=1234.pdf",
"rel": "canonical",
},
]
}
/>
</SideEffect(NullComponent)>,
<NullComponent
defer={true}
encodeSpecialCharacters={true}
link={
Array [
Object {
"href": "/entity/a2b4c3?page=1&file=1234.pdf",
"rel": "canonical",
},
]
}
/>,
]
`;