
 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' 48ms
   → 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) > preserves the decorator and demotes the first list item > 'block decorator + numbered list' 32ms
   → 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) > preserves the decorator and demotes the first list item > 'block decorator + check list' 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) > preserves the decorator and demotes the first list item > 'inline keyboard-selectable decorator …' 4ms
   → 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) > preserves the decorator and demotes the first list item > block decorator + single-item list — list is removed 8ms
   → Invariant: Expected demoted ParagraphNode
 × |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 4ms
   → Invariant: Expected demoted ParagraphNode
 ✓ |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 6ms
 ✓ |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 4ms
 ✓ |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 6ms
 ✓ |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 51ms
 ✓ |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 3ms

⎯⎯⎯⎯⎯⎯⎯ Failed Tests 6 ⎯⎯⎯⎯⎯⎯⎯

 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 [ …(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: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/6]⎯

 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
Error: Invariant: Expected demoted ParagraphNode
 ❯ 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:160: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:153:14

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/6]⎯

 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
Error: Invariant: Expected demoted ParagraphNode
 ❯ 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:199: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:188:14

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/6]⎯


 Test Files  1 failed (1)
      Tests  6 failed | 5 passed (11)
   Start at  20:06:41
   Duration  7.31s (transform 2.93s, setup 564ms, import 3.33s, tests 175ms, environment 2.04s)

JUNIT report written to /tmp/rebench-test-results.xml
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites name="vitest tests" tests="11" failures="6" errors="0" time="0.1750391">
    <testsuite name="packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts" timestamp="2026-09-04T20:06:48.341Z" hostname="bb29deaad3cc" tests="11" failures="6" errors="0" skipped="0" time="0.1750391">
        <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.048054162">
            <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: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.031524404">
            <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: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.005582498">
            <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: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.004262221">
            <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: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.007745944">
            <failure message="Invariant: Expected demoted ParagraphNode" type="Error">
Error: Invariant: Expected demoted ParagraphNode
 ❯ invariant packages/lexical/src/__tests__/utils/index.tsx:548:9
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:160: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: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.004166536">
            <failure message="Invariant: Expected demoted ParagraphNode" type="Error">
Error: Invariant: Expected demoted ParagraphNode
 ❯ invariant packages/lexical/src/__tests__/utils/index.tsx:548:9
 ❯ packages/lexical-list/src/__tests__/unit/registerListBackspaceDecorator.test.ts:199: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: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.005811922">
        </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.004406966">
        </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.005611634">
        </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.051244514">
        </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.003495071">
        </testcase>
    </testsuite>
</testsuites>
SWE-rebench parser: parse_log_js_4
SWE-rebench results:
FAILED
