Bump the test group across 1 directory with 2 updates #4792
Annotations
2 errors
Run task:
__tests__/search.test.js#L176
expect(received).toEqual(expected) // deep equality
Expected: ArrayContaining [ObjectContaining {"event": "site_search", "event_data": {"action": "no result", "text": "lorem ipsum"}}, ObjectContaining {"ecommerce": {"items": []}, "event": "view_item_list"}]
Received: [{"event": "site_search", "event_data": {"action": "no result", "text": "lore"}}, {"ecommerce": null}, {"ecommerce": {"items": []}, "event": "view_item_list"}, {"event": "site_search", "event_data": {"action": "no result", "text": "lorem "}}, {"ecommerce": null}, {"ecommerce": {"items": []}, "event": "view_item_list"}, {"event": "site_search", "event_data": {"action": "results", "text": "lorem i"}}, {"ecommerce": null}, {"ecommerce": {"items": [{"category": "Styles<span class=\"app-site-search__separator\" aria-hidden=\"true\">›</span>Images", "list": "lorem i", "name": "Illustrations", "position": 1}, {"category": "Styles<span class=\"app-site-search__separator\" aria-hidden=\"true\">›</span>Images", "list": "lorem i", "name": "Icons", "position": 2}, {"category": "Styles<span class=\"app-site-search__separator\" aria-hidden=\"true\">›</span>Images", "list": "lorem i", "name": "Using images to give information", "position": 3}, {"category": "Components", "list": "lorem i", "name": "Inset text", "position": 4}, {"category": "Styles", "list": "lorem i", "name": "Images", "position": 5}, {"category": "Patterns", "list": "lorem i", "name": "National Insurance numbers", "position": 6}, {"category": "Accessibility<span class=\"app-site-search__separator\" aria-hidden=\"true\">›</span>Accessibility strategy", "list": "lorem i", "name": "Principles for increasing accessibility", "position": 7}, {"category": "Components", "list": "lorem i", "name": "Text input", "position": 8}, {"category": "Patterns", "list": "lorem i", "name": "Equality information", "position": 9}, {"category": "Components", "list": "lorem i", "name": "Date input", "position": 10}, …]}, "event": "view_item_list"}]
at Object.toEqual (__tests__/search.test.js:176:41)
|
Run task
Process completed with exit code 1.
|
Loading