Skip to content

[WIP] Bugfix: Fix indentation for chained method #221

[WIP] Bugfix: Fix indentation for chained method

[WIP] Bugfix: Fix indentation for chained method #221

Triggered via pull request December 18, 2024 07:17
Status Failure
Total duration 27s
Artifacts

ci.yaml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
tests/Expressions/jsfmt.spec.js > Expressions > Properly indent chain method: tests/Expressions/jsfmt.spec.js#L102
Error: Snapshot `Expressions > Properly indent chain method 1` mismatched - Expected + Received <a class="task-edit" href="{{ - ea_url() - .setDashboard('App\\Controller\\Dashboard\\DashboardController') - .setController('App\\Controller\\Dashboard\\CRUD\\TacheCrudController') - .setAction('edit') - .setEntityId(tache.id) - .set('sort', null) + ea_url().setDashboard( + 'App\\Controller\\Dashboard\\DashboardController' + ).setController( + 'App\\Controller\\Dashboard\\CRUD\\TacheCrudController' + ).setAction( + 'edit' + ).setEntityId( + tache.id + ).set( + 'sort', + null + ) }}" > <i class="fa-solid fa-edit"></i> </a> {{ - craft - .entries - .section('news') - .section('news') - .orderBy('postDate DESC') - .limit(10) - .all(a.b) + craft.entries.section('news').section('news').orderBy( + 'postDate DESC' + ).limit( + 10 + ).all( + a.b + ) }} {{ craft.entries.all() }} ❯ tests/Expressions/jsfmt.spec.js:102:9
Test (20)
Process completed with exit code 1.
tests/Expressions/jsfmt.spec.js > Expressions > Properly indent chain method: tests/Expressions/jsfmt.spec.js#L102
Error: Snapshot `Expressions > Properly indent chain method 1` mismatched - Expected + Received <a class="task-edit" href="{{ - ea_url() - .setDashboard('App\\Controller\\Dashboard\\DashboardController') - .setController('App\\Controller\\Dashboard\\CRUD\\TacheCrudController') - .setAction('edit') - .setEntityId(tache.id) - .set('sort', null) + ea_url().setDashboard( + 'App\\Controller\\Dashboard\\DashboardController' + ).setController( + 'App\\Controller\\Dashboard\\CRUD\\TacheCrudController' + ).setAction( + 'edit' + ).setEntityId( + tache.id + ).set( + 'sort', + null + ) }}" > <i class="fa-solid fa-edit"></i> </a> {{ - craft - .entries - .section('news') - .section('news') - .orderBy('postDate DESC') - .limit(10) - .all(a.b) + craft.entries.section('news').section('news').orderBy( + 'postDate DESC' + ).limit( + 10 + ).all( + a.b + ) }} {{ craft.entries.all() }} ❯ tests/Expressions/jsfmt.spec.js:102:9
Test (18)
Process completed with exit code 1.
tests/Expressions/jsfmt.spec.js > Expressions > Properly indent chain method: tests/Expressions/jsfmt.spec.js#L102
Error: Snapshot `Expressions > Properly indent chain method 1` mismatched - Expected + Received <a class="task-edit" href="{{ - ea_url() - .setDashboard('App\\Controller\\Dashboard\\DashboardController') - .setController('App\\Controller\\Dashboard\\CRUD\\TacheCrudController') - .setAction('edit') - .setEntityId(tache.id) - .set('sort', null) + ea_url().setDashboard( + 'App\\Controller\\Dashboard\\DashboardController' + ).setController( + 'App\\Controller\\Dashboard\\CRUD\\TacheCrudController' + ).setAction( + 'edit' + ).setEntityId( + tache.id + ).set( + 'sort', + null + ) }}" > <i class="fa-solid fa-edit"></i> </a> {{ - craft - .entries - .section('news') - .section('news') - .orderBy('postDate DESC') - .limit(10) - .all(a.b) + craft.entries.section('news').section('news').orderBy( + 'postDate DESC' + ).limit( + 10 + ).all( + a.b + ) }} {{ craft.entries.all() }} ❯ tests/Expressions/jsfmt.spec.js:102:9
Test (22)
Process completed with exit code 1.
Test (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636