Bump the test group across 1 directory with 2 updates #4790
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": "no result", "text": "lorem"}}, {"ecommerce": null}, {"ecommerce": {"items": []}, "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.
|