Bump the test group across 1 directory with 4 updates #4981
Annotations
3 errors
Site search › tracking › should track if there are no results:
__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": "results", "text": "l"}}, {"ecommerce": null}, {"ecommerce": {"items": [{"category": "Get started", "list": "l", "name": "Making labels and legends headings", "position": 1}, {"category": "Styles<span class=\"app-site-search__separator\" aria-hidden=\"true\">›</span>Links", "list": "l", "name": "Links to change a language", "position": 2}, {"category": "Styles", "list": "l", "name": "Layout", "position": 3}, {"category": "Styles<span class=\"app-site-search__separator\" aria-hidden=\"true\">›</span>Paragraphs", "list": "l", "name": "Lead paragraph", "position": 4}, {"category": "Styles<span class=\"app-site-search__separator\" aria-hidden=\"true\">›</span>Layout", "list": "l", "name": "Common layouts", "position": 5}, {"category": "Styles", "list": "l", "name": "Lists", "position": 6}, {"category": "Styles<span class=\"app-site-search__separator\" aria-hidden=\"true\">›</span>Lists", "list": "l", "name": "Bulleted lists", "position": 7}, {"category": "Styles<span class=\"app-site-search__separator\" aria-hidden=\"true\">›</span>Lists", "list": "l", "name": "Numbered lists", "position": 8}, {"category": "Components", "list": "l", "name": "Skip link", "position": 9}, {"category": "Components", "list": "l", "name": "Back link", "position": 10}, …]}, "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)
|
package-lock.json › Dependabot updates › should not hoist 'optionalDependencies' to 'dependencies':
package-lock.json.unit.test.mjs#L27
expect(received).not.toContain(expected) // indexOf
Expected value: not "@types/jest"
Received array: ["@types/jest", "accessible-autocomplete", "clipboard", "govuk-frontend", "iframe-resizer", "lunr"]
at Object.toContain (package-lock.json.unit.test.mjs:27:34)
|
JavaScript tests
Process completed with exit code 1.
|