topBar.test.tsx.snap
TLDR
This file contains Jest snapshot tests for the topBar
component.
Snapshots
src/components/topBar should match snapshot for focalboardPlugin 1
This snapshot represents the expected HTML structure of the topBar
component when the focalboardPlugin
is active.
src/components/topBar should match snapshot for none focalboardPlugin 1
This snapshot represents the expected HTML structure of the topBar
component when the focalboardPlugin
is not active.
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`src/components/topBar should match snapshot for focalboardPlugin 1`] = `
<div>
<div
class="TopBar"
>
<a
class="link"
href="https://www.focalboard.com/fwlink/feedback-boards.html?v=1.0.0"
rel="noreferrer"
target="_blank"
>
Give feedback
</a>
<div
class="versionFrame"
>
<div
class="version"
title="v1.0.0"
>
v1.0.0
</div>
</div>
</div>
</div>
`;
exports[`src/components/topBar should match snapshot for none focalboardPlugin 1`] = `
<div>
<div
class="TopBar"
>
<a
class="link"
href="https://www.focalboard.com/fwlink/feedback-focalboard.html?v=1.0.0"
rel="noreferrer"
target="_blank"
>
Give feedback
</a>
<a
href="https://www.focalboard.com/guide/user?utm_source=webapp"
rel="noreferrer"
target="_blank"
>
<i
class="CompassIcon icon-help-circle-outline HelpIcon"
/>
</a>
</div>
</div>
`;