Skip to content

[Map] Fix and improve TypeScript types, refactor same logic into dedicated methods (to reduce file size) #5527

[Map] Fix and improve TypeScript types, refactor same logic into dedicated methods (to reduce file size)

[Map] Fix and improve TypeScript types, refactor same logic into dedicated methods (to reduce file size) #5527

Triggered via pull request November 26, 2024 07:38
Status Failure
Total duration 1m 22s
Artifacts

test.yaml

on: pull_request
tests-php-components
5s
tests-php-components
JavaScript Coding Style
17s
JavaScript Coding Style
Check for UnBuilt JS Dist Files
50s
Check for UnBuilt JS Dist Files
tests-js
1m 10s
tests-js
Matrix: tests-php
Fit to window
Zoom out
Zoom in

Annotations

3 errors
JavaScript Coding Style
Process completed with exit code 1.
test/abstract_map_controller.test.ts > AbstractMapController > connect and create map, marker, polygon, polyline and info window: src/Map/assets/test/abstract_map_controller.test.ts#L104
AssertionError: expected Map{ …(3) } to deeply equal Map{ …(3) } - Expected + Received Map { "a69f13edd2e571f3" => Object { - "@id": "a69f13edd2e571f3", "marker": "marker", - "title": "Paris", + "title": undefined, }, "cb9c1a30d562694b" => Object { - "@id": "cb9c1a30d562694b", "marker": "marker", - "title": "Lyon", + "title": undefined, }, "e6b3acef1325fb52" => Object { - "@id": "e6b3acef1325fb52", "marker": "marker", - "title": "Toulouse", + "title": undefined, }, } ❯ test/abstract_map_controller.test.ts:104:36
tests-js
Process completed with exit code 1.