element-web-Github/test/components/views/settings/__snapshots__/KeyboardShortcut-test.tsx.snap

74 lines
864 B
Plaintext
Raw Normal View History

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