mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-29 03:49:28 +08:00
4c8b4116eb
* Migrate tests from Enzyme to RTL * Fix languageHandler tests Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
74 lines
864 B
Plaintext
74 lines
864 B
Plaintext
// 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>
|
|
`;
|