Skip to content

Commit bbefc19

Browse files
committed
Updated tests
1 parent 450aa5c commit bbefc19

3 files changed

Lines changed: 183 additions & 292 deletions

File tree

packages/core/src/api/blockManipulation/commands/moveBlocks/__snapshots__/moveBlocks.test.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ exports[`Test moveBlocksDown > Explicit block argument moves the given block 1`]
11251125
{
11261126
"children": [],
11271127
"content": [],
1128-
"id": "trailing-paragraph",
1128+
"id": "paragraph-9",
11291129
"props": {
11301130
"backgroundColor": "default",
11311131
"textAlignment": "left",
@@ -1692,7 +1692,7 @@ exports[`Test moveBlocksDown > Explicit block argument with nested block 1`] = `
16921692
{
16931693
"children": [],
16941694
"content": [],
1695-
"id": "trailing-paragraph",
1695+
"id": "paragraph-9",
16961696
"props": {
16971697
"backgroundColor": "default",
16981698
"textAlignment": "left",
@@ -7937,7 +7937,7 @@ exports[`Test moveBlocksUp > Explicit block argument moves the given block 1`] =
79377937
{
79387938
"children": [],
79397939
"content": [],
7940-
"id": "trailing-paragraph",
7940+
"id": "paragraph-9",
79417941
"props": {
79427942
"backgroundColor": "default",
79437943
"textAlignment": "left",
@@ -8504,7 +8504,7 @@ exports[`Test moveBlocksUp > Explicit block argument with nested block 1`] = `
85048504
{
85058505
"children": [],
85068506
"content": [],
8507-
"id": "trailing-paragraph",
8507+
"id": "paragraph-9",
85088508
"props": {
85098509
"backgroundColor": "default",
85108510
"textAlignment": "left",

packages/core/src/api/blockManipulation/commands/moveBlocks/moveBlocks.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ describe("Test moveBlocksDown", () => {
330330
});
331331

332332
it("Explicit block argument moves the given block", () => {
333-
getEditor().setTextCursorPosition("trailing-paragraph");
333+
getEditor().setTextCursorPosition("paragraph-9");
334334

335335
moveBlocksDown(getEditor(), "paragraph-0");
336336

0 commit comments

Comments
 (0)