mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 18:30:57 -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`] = `
|
exports[`Highlighted Code can hide the line numbers 1`] = `
|
||||||
<code
|
<code
|
||||||
class="hljs wrapLines"
|
class="hljs wrapLines"
|
||||||
data-testid="code-highlighter"
|
data-testid="code-highlighter"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
|
@ -22,7 +22,7 @@ exports[`Highlighted Code can hide the line numbers 1`] = `
|
||||||
|
|
||||||
exports[`Highlighted Code highlights code 1`] = `
|
exports[`Highlighted Code highlights code 1`] = `
|
||||||
<code
|
<code
|
||||||
class="hljs showGutter "
|
class="hljs showGutter"
|
||||||
data-testid="code-highlighter"
|
data-testid="code-highlighter"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
|
@ -50,7 +50,7 @@ exports[`Highlighted Code highlights code 1`] = `
|
||||||
|
|
||||||
exports[`Highlighted Code renders plain text 1`] = `
|
exports[`Highlighted Code renders plain text 1`] = `
|
||||||
<code
|
<code
|
||||||
class="hljs showGutter "
|
class="hljs showGutter"
|
||||||
data-testid="code-highlighter"
|
data-testid="code-highlighter"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
exports[`IconButton correctly uses the onClick callback 1`] = `
|
exports[`IconButton correctly uses the onClick callback 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<button
|
<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"
|
data-testid="icon-button"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -24,7 +24,7 @@ exports[`IconButton correctly uses the onClick callback 1`] = `
|
||||||
exports[`IconButton renders heart icon 1`] = `
|
exports[`IconButton renders heart icon 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<button
|
<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"
|
data-testid="icon-button"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -45,7 +45,7 @@ exports[`IconButton renders heart icon 1`] = `
|
||||||
exports[`IconButton renders with additional className 1`] = `
|
exports[`IconButton renders with additional className 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<button
|
<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"
|
data-testid="icon-button"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -66,7 +66,7 @@ exports[`IconButton renders with additional className 1`] = `
|
||||||
exports[`IconButton renders with border 1`] = `
|
exports[`IconButton renders with border 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<button
|
<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"
|
data-testid="icon-button"
|
||||||
type="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`] = `
|
exports[`CommonModal render correctly in size lg 1`] = `
|
||||||
<div
|
<div
|
||||||
class="modal-dialog text-dark modal-lg"
|
class="modal-dialog text-dark modal-lg"
|
||||||
data-testid="commonModal"
|
data-testid="commonModal"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
@ -26,7 +26,7 @@ exports[`CommonModal render correctly in size lg 1`] = `
|
||||||
|
|
||||||
exports[`CommonModal render correctly in size sm 1`] = `
|
exports[`CommonModal render correctly in size sm 1`] = `
|
||||||
<div
|
<div
|
||||||
class="modal-dialog text-dark modal-sm"
|
class="modal-dialog text-dark modal-sm"
|
||||||
data-testid="commonModal"
|
data-testid="commonModal"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
@ -48,7 +48,7 @@ exports[`CommonModal render correctly in size sm 1`] = `
|
||||||
|
|
||||||
exports[`CommonModal render correctly in size xl 1`] = `
|
exports[`CommonModal render correctly in size xl 1`] = `
|
||||||
<div
|
<div
|
||||||
class="modal-dialog text-dark modal-xl"
|
class="modal-dialog text-dark modal-xl"
|
||||||
data-testid="commonModal"
|
data-testid="commonModal"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
@ -92,7 +92,7 @@ exports[`CommonModal render correctly with additionalClasses 1`] = `
|
||||||
|
|
||||||
exports[`CommonModal render correctly with i18nTitle 1`] = `
|
exports[`CommonModal render correctly with i18nTitle 1`] = `
|
||||||
<div
|
<div
|
||||||
class="modal-dialog text-dark "
|
class="modal-dialog text-dark"
|
||||||
data-testid="commonModal"
|
data-testid="commonModal"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
@ -114,7 +114,7 @@ exports[`CommonModal render correctly with i18nTitle 1`] = `
|
||||||
|
|
||||||
exports[`CommonModal render correctly with title 1`] = `
|
exports[`CommonModal render correctly with title 1`] = `
|
||||||
<div
|
<div
|
||||||
class="modal-dialog text-dark "
|
class="modal-dialog text-dark"
|
||||||
data-testid="commonModal"
|
data-testid="commonModal"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
@ -136,7 +136,7 @@ exports[`CommonModal render correctly with title 1`] = `
|
||||||
|
|
||||||
exports[`CommonModal render correctly with title icon 1`] = `
|
exports[`CommonModal render correctly with title icon 1`] = `
|
||||||
<div
|
<div
|
||||||
class="modal-dialog text-dark "
|
class="modal-dialog text-dark"
|
||||||
data-testid="commonModal"
|
data-testid="commonModal"
|
||||||
>
|
>
|
||||||
<div
|
<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`] = `
|
exports[`CommonModal renders correctly and calls onHide, when close button is clicked 1`] = `
|
||||||
<div
|
<div
|
||||||
class="modal-dialog text-dark "
|
class="modal-dialog text-dark"
|
||||||
data-testid="commonModal"
|
data-testid="commonModal"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
exports[`DeletionModal disables deletion when user is not owner 1`] = `
|
exports[`DeletionModal disables deletion when user is not owner 1`] = `
|
||||||
<div
|
<div
|
||||||
class="modal-dialog text-dark "
|
class="modal-dialog text-dark"
|
||||||
data-testid="commonModal"
|
data-testid="commonModal"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
@ -44,7 +44,7 @@ exports[`DeletionModal disables deletion when user is not owner 1`] = `
|
||||||
|
|
||||||
exports[`DeletionModal renders correctly with deletionButtonI18nKey 1`] = `
|
exports[`DeletionModal renders correctly with deletionButtonI18nKey 1`] = `
|
||||||
<div
|
<div
|
||||||
class="modal-dialog text-dark "
|
class="modal-dialog text-dark"
|
||||||
data-testid="commonModal"
|
data-testid="commonModal"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
exports[`Table of contents renders correctly 1`] = `
|
exports[`Table of contents renders correctly 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="markdown-toc customClassName"
|
class="toc customClassName"
|
||||||
>
|
>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
|
@ -42,7 +42,7 @@ exports[`Table of contents renders correctly 1`] = `
|
||||||
exports[`Table of contents renders only in requested max depth 1`] = `
|
exports[`Table of contents renders only in requested max depth 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="markdown-toc customClassName"
|
class="toc customClassName"
|
||||||
>
|
>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
|
|
Loading…
Reference in a new issue