element-web/test/components/views/settings/__snapshots__/KeyboardShortcut-test.tsx.snap
Germain 4c8b4116eb
Migrate KeyboardShortcut tests from Enzyme to RTL (#9405)
* Migrate tests from Enzyme to RTL

* Fix languageHandler tests

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-10-13 14:32:45 +01:00

73 lines
864 B
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`KeyboardShortcut doesn't render + if last 1`] = `
<div>
<kbd>
a
</kbd>
</div>
`;
exports[`KeyboardShortcut doesn't render same modifier twice 1`] = `
<div>
<div
class="mx_KeyboardShortcut"
>
<kbd>
Ctrl
</kbd>
+
<kbd>
a
</kbd>
</div>
</div>
`;
exports[`KeyboardShortcut doesn't render same modifier twice 2`] = `
<div>
<div
class="mx_KeyboardShortcut"
>
<kbd>
Ctrl
</kbd>
+
<kbd>
a
</kbd>
</div>
</div>
`;
exports[`KeyboardShortcut renders alternative key name 1`] = `
<div>
<kbd>
Page Down
</kbd>
+
</div>
`;
exports[`KeyboardShortcut renders key icon 1`] = `
<div>
<kbd>
</kbd>
+
</div>
`;