mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 20:14:35 -04:00
47 lines
989 B
Text
47 lines
989 B
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`RevisionsService purgeRevisions purges the revision history 1`] = `
|
|
"Index: test-note
|
|
===================================================================
|
|
--- test-note
|
|
+++ test-note
|
|
@@ -0,0 +1,6 @@
|
|
+---
|
|
+title: new title
|
|
+description: new description
|
|
+tags: [ "tag1" ]
|
|
+---
|
|
+new content
|
|
"
|
|
`;
|
|
|
|
exports[`RevisionsService removeOldRevisions remove a part of old revisions 1`] = `
|
|
"Index: test-note
|
|
===================================================================
|
|
--- test-note
|
|
+++ test-note
|
|
@@ -1,1 +1,6 @@
|
|
-old content
|
|
+---
|
|
+title: new title
|
|
+description: new description
|
|
+tags: [ "tag1" ]
|
|
+---
|
|
+new content
|
|
"
|
|
`;
|
|
|
|
exports[`RevisionsService removeOldRevisions remove all revisions except latest revision 1`] = `
|
|
"Index: test-note
|
|
===================================================================
|
|
--- test-note
|
|
+++ test-note
|
|
@@ -0,0 +1,6 @@
|
|
+---
|
|
+title: new title
|
|
+description: new description
|
|
+tags: [ "tag1" ]
|
|
+---
|
|
+new content
|
|
"
|
|
`;
|