[Map] Fix and improve TypeScript types, refactor same logic into dedicated methods (to reduce file size) #5527
test.yaml
on: pull_request
tests-php-components
5s
JavaScript Coding Style
17s
Check for UnBuilt JS Dist Files
50s
tests-js
1m 10s
Matrix: tests-php
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.
|