
 RUN  v4.1.8 /lexical

 × |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > preserves the decorator and demotes the first list item > 'block decorator + bullet list' 50ms
   → expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1
 × |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > preserves the decorator and demotes the first list item > 'block decorator + numbered list' 16ms
   → expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1
 × |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > preserves the decorator and demotes the first list item > 'block decorator + check list' 6ms
   → expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1
 × |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > preserves the decorator and demotes the first list item > 'inline keyboard-selectable decorator …' 5ms
   → expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1
 × |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > preserves the decorator and demotes the first list item > block decorator + single-item list — list is removed 5ms
   → expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 2 but got 1
 × |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > preserves the decorator and demotes the first list item > two adjacent block decorators + list — both preserved 6ms
   → expected [ …(2) ] to have a length of 3 but got 2
 ✓ |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > behavioral boundaries (full pipeline) > no decorator before the list — merges with preceding paragraph 44ms
 ✓ |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > behavioral boundaries (full pipeline) > caret on the second list item — merges items 5ms
 ✓ |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > behavioral boundaries (full pipeline) > nested list — outdents inner list 4ms
 ✓ |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > behavioral boundaries (full pipeline) > isolated decorator before the list — merges with decorator 8ms
 × |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > behavioral boundaries (full pipeline) > empty first list item — removes empty item, selects decorator 9ms
   → Invariant: Expected trailing ListNode

⎯⎯⎯⎯⎯⎯⎯ Failed Tests 7 ⎯⎯⎯⎯⎯⎯⎯

 FAIL  |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > preserves the decorator and demotes the first list item > 'block decorator + bullet list'
 FAIL  |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > preserves the decorator and demotes the first list item > 'block decorator + numbered list'
 FAIL  |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > preserves the decorator and demotes the first list item > 'block decorator + check list'
 FAIL  |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > preserves the decorator and demotes the first list item > 'inline keyboard-selectable decorator …'
AssertionError: expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1

[32m- Expected[39m
[31m+ Received[39m

[32m- 3[39m
[31m+ 1[39m

 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:107:26
    105|       editor.read(() => {
    106|         const children = $getRoot().getChildren();
    107|         expect(children).toHaveLength(3);
       |                          ^
    108|         invariant(
    109|           children[0] instanceof TestDecoratorNode,
 ❯ readEditorState packages/lexical/src/LexicalUpdates.ts:517:12
 ❯ EditorState.read packages/lexical/src/LexicalEditorState.ts:124:12
 ❯ LexicalEditor.read packages/lexical/src/LexicalEditor.ts:1644:34
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:105:14

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/7]⎯

 FAIL  |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > preserves the decorator and demotes the first list item > block decorator + single-item list — list is removed
AssertionError: expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 2 but got 1

[32m- Expected[39m
[31m+ Received[39m

[32m- 2[39m
[31m+ 1[39m

 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:155:26
    153|       editor.read(() => {
    154|         const children = $getRoot().getChildren();
    155|         expect(children).toHaveLength(2);
       |                          ^
    156|         invariant(
    157|           children[0] instanceof TestDecoratorNode,
 ❯ readEditorState packages/lexical/src/LexicalUpdates.ts:517:12
 ❯ EditorState.read packages/lexical/src/LexicalEditorState.ts:124:12
 ❯ LexicalEditor.read packages/lexical/src/LexicalEditor.ts:1644:34
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:153:14

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/7]⎯

 FAIL  |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > preserves the decorator and demotes the first list item > two adjacent block decorators + list — both preserved
AssertionError: expected [ …(2) ] to have a length of 3 but got 2

[32m- Expected[39m
[31m+ Received[39m

[32m- 3[39m
[31m+ 2[39m

 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:190:26
    188|       editor.read(() => {
    189|         const children = $getRoot().getChildren();
    190|         expect(children).toHaveLength(3);
       |                          ^
    191|         invariant(
    192|           children[0] instanceof TestDecoratorNode,
 ❯ readEditorState packages/lexical/src/LexicalUpdates.ts:517:12
 ❯ EditorState.read packages/lexical/src/LexicalEditorState.ts:124:12
 ❯ LexicalEditor.read packages/lexical/src/LexicalEditor.ts:1644:34
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:188:14

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/7]⎯

 FAIL  |unit| packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts > registerList — Backspace adjacent to DecoratorNode (#5072) > behavioral boundaries (full pipeline) > empty first list item — removes empty item, selects decorator
Error: Invariant: Expected trailing ListNode
 ❯ invariant packages/lexical/src/__tests__/utils/index.tsx:548:9
    546|     return;
    547|   }
    548|   throw new Error(`Invariant: ${message}`);
       |         ^
    549| }
    550|
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:374:9
 ❯ readEditorState packages/lexical/src/LexicalUpdates.ts:517:12
 ❯ EditorState.read packages/lexical/src/LexicalEditorState.ts:124:12
 ❯ LexicalEditor.read packages/lexical/src/LexicalEditor.ts:1644:34
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:366:14

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/7]⎯


 Test Files  1 failed (1)
      Tests  7 failed | 4 passed (11)
   Start at  20:14:08
   Duration  5.79s (transform 2.52s, setup 316ms, import 2.96s, tests 161ms, environment 1.16s)

JUNIT report written to /tmp/rebench-test-results.xml
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites name="vitest tests" tests="11" failures="7" errors="0" time="0.160893131">
    <testsuite name="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" timestamp="2026-09-04T20:14:14.400Z" hostname="dec48fb694ef" tests="11" failures="7" errors="0" skipped="0" time="0.160893131">
        <testcase classname="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" name="registerList — Backspace adjacent to DecoratorNode (#5072) &gt; preserves the decorator and demotes the first list item &gt; &apos;block decorator + bullet list&apos;" time="0.049583464">
            <failure message="expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1" type="AssertionError">
AssertionError: expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1

- Expected
+ Received

- 3
+ 1

 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:107:26
 ❯ readEditorState packages/lexical/src/LexicalUpdates.ts:517:12
 ❯ EditorState.read packages/lexical/src/LexicalEditorState.ts:124:12
 ❯ LexicalEditor.read packages/lexical/src/LexicalEditor.ts:1644:34
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:105:14
            </failure>
        </testcase>
        <testcase classname="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" name="registerList — Backspace adjacent to DecoratorNode (#5072) &gt; preserves the decorator and demotes the first list item &gt; &apos;block decorator + numbered list&apos;" time="0.01592813">
            <failure message="expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1" type="AssertionError">
AssertionError: expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1

- Expected
+ Received

- 3
+ 1

 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:107:26
 ❯ readEditorState packages/lexical/src/LexicalUpdates.ts:517:12
 ❯ EditorState.read packages/lexical/src/LexicalEditorState.ts:124:12
 ❯ LexicalEditor.read packages/lexical/src/LexicalEditor.ts:1644:34
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:105:14
            </failure>
        </testcase>
        <testcase classname="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" name="registerList — Backspace adjacent to DecoratorNode (#5072) &gt; preserves the decorator and demotes the first list item &gt; &apos;block decorator + check list&apos;" time="0.006259949">
            <failure message="expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1" type="AssertionError">
AssertionError: expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1

- Expected
+ Received

- 3
+ 1

 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:107:26
 ❯ readEditorState packages/lexical/src/LexicalUpdates.ts:517:12
 ❯ EditorState.read packages/lexical/src/LexicalEditorState.ts:124:12
 ❯ LexicalEditor.read packages/lexical/src/LexicalEditor.ts:1644:34
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:105:14
            </failure>
        </testcase>
        <testcase classname="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" name="registerList — Backspace adjacent to DecoratorNode (#5072) &gt; preserves the decorator and demotes the first list item &gt; &apos;inline keyboard-selectable decorator …&apos;" time="0.004787173">
            <failure message="expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1" type="AssertionError">
AssertionError: expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 3 but got 1

- Expected
+ Received

- 3
+ 1

 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:107:26
 ❯ readEditorState packages/lexical/src/LexicalUpdates.ts:517:12
 ❯ EditorState.read packages/lexical/src/LexicalEditorState.ts:124:12
 ❯ LexicalEditor.read packages/lexical/src/LexicalEditor.ts:1644:34
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:105:14
            </failure>
        </testcase>
        <testcase classname="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" name="registerList — Backspace adjacent to DecoratorNode (#5072) &gt; preserves the decorator and demotes the first list item &gt; block decorator + single-item list — list is removed" time="0.005247284">
            <failure message="expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 2 but got 1" type="AssertionError">
AssertionError: expected [ TestDecoratorNode{ …(7), …(1) } ] to have a length of 2 but got 1

- Expected
+ Received

- 2
+ 1

 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:155:26
 ❯ readEditorState packages/lexical/src/LexicalUpdates.ts:517:12
 ❯ EditorState.read packages/lexical/src/LexicalEditorState.ts:124:12
 ❯ LexicalEditor.read packages/lexical/src/LexicalEditor.ts:1644:34
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:153:14
            </failure>
        </testcase>
        <testcase classname="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" name="registerList — Backspace adjacent to DecoratorNode (#5072) &gt; preserves the decorator and demotes the first list item &gt; two adjacent block decorators + list — both preserved" time="0.006114627">
            <failure message="expected [ …(2) ] to have a length of 3 but got 2" type="AssertionError">
AssertionError: expected [ …(2) ] to have a length of 3 but got 2

- Expected
+ Received

- 3
+ 2

 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:190:26
 ❯ readEditorState packages/lexical/src/LexicalUpdates.ts:517:12
 ❯ EditorState.read packages/lexical/src/LexicalEditorState.ts:124:12
 ❯ LexicalEditor.read packages/lexical/src/LexicalEditor.ts:1644:34
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:188:14
            </failure>
        </testcase>
        <testcase classname="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" name="registerList — Backspace adjacent to DecoratorNode (#5072) &gt; behavioral boundaries (full pipeline) &gt; no decorator before the list — merges with preceding paragraph" time="0.043940106">
        </testcase>
        <testcase classname="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" name="registerList — Backspace adjacent to DecoratorNode (#5072) &gt; behavioral boundaries (full pipeline) &gt; caret on the second list item — merges items" time="0.00515876">
        </testcase>
        <testcase classname="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" name="registerList — Backspace adjacent to DecoratorNode (#5072) &gt; behavioral boundaries (full pipeline) &gt; nested list — outdents inner list" time="0.004216123">
        </testcase>
        <testcase classname="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" name="registerList — Backspace adjacent to DecoratorNode (#5072) &gt; behavioral boundaries (full pipeline) &gt; isolated decorator before the list — merges with decorator" time="0.007569537">
        </testcase>
        <testcase classname="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" name="registerList — Backspace adjacent to DecoratorNode (#5072) &gt; behavioral boundaries (full pipeline) &gt; empty first list item — removes empty item, selects decorator" time="0.009326174">
            <failure message="Invariant: Expected trailing ListNode" type="Error">
Error: Invariant: Expected trailing ListNode
 ❯ invariant packages/lexical/src/__tests__/utils/index.tsx:548:9
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:374:9
 ❯ readEditorState packages/lexical/src/LexicalUpdates.ts:517:12
 ❯ EditorState.read packages/lexical/src/LexicalEditorState.ts:124:12
 ❯ LexicalEditor.read packages/lexical/src/LexicalEditor.ts:1644:34
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:366:14
            </failure>
        </testcase>
    </testsuite>
</testsuites>
SWE-rebench parser: parse_log_js_4
SWE-rebench results:
FAILED
