Skip to content

Commit 235c9f4

Browse files
committed
fix, before removing commented code
1 parent 6235cd7 commit 235c9f4

File tree

5 files changed

+405
-479
lines changed

5 files changed

+405
-479
lines changed

packages/xl-ai/src/markdown/__snapshots__/markdownNodeDiff.test.ts.snap

+75-14
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,8 @@ ADD: The introduction provides an overview of the document's purpose and structu
1313
1414
ADD: ## Main Content
1515
16-
ADD: The main content section contains the bulk of the information.
17-
1816
ADD: ### Subsection 1
1917
20-
ADD: Details about the first subsection are provided here.
21-
2218
ADD: ### Subsection 2
2319
2420
ADD: Details about the second subsection are provided here.
@@ -33,6 +29,15 @@ ADD: A list of references and resources used in the document.
3329
"
3430
`;
3531

32+
exports[`markdown AI util > 3 lines -> 1 line 1`] = `
33+
"CHANGED: mestis
34+
35+
REMOVE: Test
36+
37+
REMOVE: This
38+
"
39+
`;
40+
3641
exports[`markdown AI util > 3 lines -> large text 1`] = `
3742
"CHANGED: # Document Title
3843
@@ -46,20 +51,10 @@ ADD: The introduction provides an overview of the document's purpose and structu
4651
4752
ADD: ## Main Content
4853
49-
ADD: The main content section contains the bulk of the information.
50-
5154
ADD: ### Subsection 1
5255
53-
ADD: Details about the first subsection are provided here.
54-
5556
CHANGED: ### Subsection 2
5657
57-
ADD: Details about the second subsection are provided here.
58-
59-
ADD: ## Conclusion
60-
61-
ADD: The conclusion summarizes the key points discussed in the document.
62-
6358
ADD: ## References
6459
6560
ADD: A list of references and resources used in the document.
@@ -149,6 +144,72 @@ REMOVE: hello
149144
"
150145
`;
151146

147+
exports[`markdown AI util > large text -> 1 line 1`] = `
148+
"REMOVE: # Document Title
149+
150+
REMOVE: Test
151+
152+
CHANGED: hello
153+
154+
REMOVE: ## Introduction
155+
156+
REMOVE: The introduction provides an overview of the document's purpose and structure.
157+
158+
REMOVE: ## Main Content
159+
160+
REMOVE: The main content section contains the bulk of the information.
161+
162+
REMOVE: ### Subsection 1
163+
164+
REMOVE: Details about the first subsection are provided here.
165+
166+
REMOVE: ### Subsection 2
167+
168+
REMOVE: Details about the second subsection are provided here.
169+
170+
REMOVE: ## Conclusion
171+
172+
REMOVE: The conclusion summarizes the key points discussed in the document.
173+
174+
REMOVE: ## References
175+
176+
REMOVE: A list of references and resources used in the document.
177+
"
178+
`;
179+
180+
exports[`markdown AI util > large text -> 3 lines 1`] = `
181+
"CHANGED: # title
182+
183+
REMOVE: Test
184+
185+
CHANGED: hello
186+
187+
REMOVE: ## Introduction
188+
189+
REMOVE: The introduction provides an overview of the document's purpose and structure.
190+
191+
REMOVE: ## Main Content
192+
193+
REMOVE: The main content section contains the bulk of the information.
194+
195+
REMOVE: ### Subsection 1
196+
197+
REMOVE: Details about the first subsection are provided here.
198+
199+
CHANGED: world
200+
201+
REMOVE: Details about the second subsection are provided here.
202+
203+
REMOVE: ## Conclusion
204+
205+
REMOVE: The conclusion summarizes the key points discussed in the document.
206+
207+
REMOVE: ## References
208+
209+
REMOVE: A list of references and resources used in the document.
210+
"
211+
`;
212+
152213
exports[`markdown AI util > lists: add list 1`] = `
153214
"UNCHANGED: # title
154215

0 commit comments

Comments
 (0)