mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 18:56:32 -05:00
fix: update test snapshots
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
4eb341308a
commit
0c03e03a95
5 changed files with 18 additions and 18 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
exports[`Highlighted Code can hide the line numbers 1`] = `
|
||||
<code
|
||||
class="hljs wrapLines"
|
||||
class="hljs wrapLines"
|
||||
data-testid="code-highlighter"
|
||||
>
|
||||
<span
|
||||
|
@ -22,7 +22,7 @@ exports[`Highlighted Code can hide the line numbers 1`] = `
|
|||
|
||||
exports[`Highlighted Code highlights code 1`] = `
|
||||
<code
|
||||
class="hljs showGutter "
|
||||
class="hljs showGutter"
|
||||
data-testid="code-highlighter"
|
||||
>
|
||||
<span
|
||||
|
@ -50,7 +50,7 @@ exports[`Highlighted Code highlights code 1`] = `
|
|||
|
||||
exports[`Highlighted Code renders plain text 1`] = `
|
||||
<code
|
||||
class="hljs showGutter "
|
||||
class="hljs showGutter"
|
||||
data-testid="code-highlighter"
|
||||
>
|
||||
<span
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
exports[`IconButton correctly uses the onClick callback 1`] = `
|
||||
<div>
|
||||
<button
|
||||
class="btn-icon d-inline-flex align-items-stretch btn btn-primary"
|
||||
class="btn-icon d-inline-flex align-items-stretch btn btn-primary"
|
||||
data-testid="icon-button"
|
||||
type="button"
|
||||
>
|
||||
|
@ -24,7 +24,7 @@ exports[`IconButton correctly uses the onClick callback 1`] = `
|
|||
exports[`IconButton renders heart icon 1`] = `
|
||||
<div>
|
||||
<button
|
||||
class="btn-icon d-inline-flex align-items-stretch btn btn-primary"
|
||||
class="btn-icon d-inline-flex align-items-stretch btn btn-primary"
|
||||
data-testid="icon-button"
|
||||
type="button"
|
||||
>
|
||||
|
@ -45,7 +45,7 @@ exports[`IconButton renders heart icon 1`] = `
|
|||
exports[`IconButton renders with additional className 1`] = `
|
||||
<div>
|
||||
<button
|
||||
class="btn-icon d-inline-flex align-items-stretch testClass btn btn-primary"
|
||||
class="btn-icon d-inline-flex align-items-stretch testClass btn btn-primary"
|
||||
data-testid="icon-button"
|
||||
type="button"
|
||||
>
|
||||
|
@ -66,7 +66,7 @@ exports[`IconButton renders with additional className 1`] = `
|
|||
exports[`IconButton renders with border 1`] = `
|
||||
<div>
|
||||
<button
|
||||
class="btn-icon d-inline-flex align-items-stretch with-border btn btn-primary"
|
||||
class="btn-icon d-inline-flex align-items-stretch with-border btn btn-primary"
|
||||
data-testid="icon-button"
|
||||
type="button"
|
||||
>
|
||||
|
|
|
@ -4,7 +4,7 @@ exports[`CommonModal does not render if show is false 1`] = `<div />`;
|
|||
|
||||
exports[`CommonModal render correctly in size lg 1`] = `
|
||||
<div
|
||||
class="modal-dialog text-dark modal-lg"
|
||||
class="modal-dialog text-dark modal-lg"
|
||||
data-testid="commonModal"
|
||||
>
|
||||
<div
|
||||
|
@ -26,7 +26,7 @@ exports[`CommonModal render correctly in size lg 1`] = `
|
|||
|
||||
exports[`CommonModal render correctly in size sm 1`] = `
|
||||
<div
|
||||
class="modal-dialog text-dark modal-sm"
|
||||
class="modal-dialog text-dark modal-sm"
|
||||
data-testid="commonModal"
|
||||
>
|
||||
<div
|
||||
|
@ -48,7 +48,7 @@ exports[`CommonModal render correctly in size sm 1`] = `
|
|||
|
||||
exports[`CommonModal render correctly in size xl 1`] = `
|
||||
<div
|
||||
class="modal-dialog text-dark modal-xl"
|
||||
class="modal-dialog text-dark modal-xl"
|
||||
data-testid="commonModal"
|
||||
>
|
||||
<div
|
||||
|
@ -92,7 +92,7 @@ exports[`CommonModal render correctly with additionalClasses 1`] = `
|
|||
|
||||
exports[`CommonModal render correctly with i18nTitle 1`] = `
|
||||
<div
|
||||
class="modal-dialog text-dark "
|
||||
class="modal-dialog text-dark"
|
||||
data-testid="commonModal"
|
||||
>
|
||||
<div
|
||||
|
@ -114,7 +114,7 @@ exports[`CommonModal render correctly with i18nTitle 1`] = `
|
|||
|
||||
exports[`CommonModal render correctly with title 1`] = `
|
||||
<div
|
||||
class="modal-dialog text-dark "
|
||||
class="modal-dialog text-dark"
|
||||
data-testid="commonModal"
|
||||
>
|
||||
<div
|
||||
|
@ -136,7 +136,7 @@ exports[`CommonModal render correctly with title 1`] = `
|
|||
|
||||
exports[`CommonModal render correctly with title icon 1`] = `
|
||||
<div
|
||||
class="modal-dialog text-dark "
|
||||
class="modal-dialog text-dark"
|
||||
data-testid="commonModal"
|
||||
>
|
||||
<div
|
||||
|
@ -160,7 +160,7 @@ exports[`CommonModal render correctly with title icon 1`] = `
|
|||
|
||||
exports[`CommonModal renders correctly and calls onHide, when close button is clicked 1`] = `
|
||||
<div
|
||||
class="modal-dialog text-dark "
|
||||
class="modal-dialog text-dark"
|
||||
data-testid="commonModal"
|
||||
>
|
||||
<div
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
exports[`DeletionModal disables deletion when user is not owner 1`] = `
|
||||
<div
|
||||
class="modal-dialog text-dark "
|
||||
class="modal-dialog text-dark"
|
||||
data-testid="commonModal"
|
||||
>
|
||||
<div
|
||||
|
@ -44,7 +44,7 @@ exports[`DeletionModal disables deletion when user is not owner 1`] = `
|
|||
|
||||
exports[`DeletionModal renders correctly with deletionButtonI18nKey 1`] = `
|
||||
<div
|
||||
class="modal-dialog text-dark "
|
||||
class="modal-dialog text-dark"
|
||||
data-testid="commonModal"
|
||||
>
|
||||
<div
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
exports[`Table of contents renders correctly 1`] = `
|
||||
<div>
|
||||
<div
|
||||
class="markdown-toc customClassName"
|
||||
class="toc customClassName"
|
||||
>
|
||||
<ul>
|
||||
<li>
|
||||
|
@ -42,7 +42,7 @@ exports[`Table of contents renders correctly 1`] = `
|
|||
exports[`Table of contents renders only in requested max depth 1`] = `
|
||||
<div>
|
||||
<div
|
||||
class="markdown-toc customClassName"
|
||||
class="toc customClassName"
|
||||
>
|
||||
<ul>
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue