Bump the test group across 1 directory with 4 updates #5047
Annotations
3 errors and 1 warning
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": "results", "text": "l"}}, {"ecommerce": null}, {"ecommerce": {"items": [{"category": "in Get started", "list": "l", "name": "Making labels and legends headings", "position": 1}, {"category": "part of Links in Styles", "list": "l", "name": "Links to change a language", "position": 2}, {"category": "in Styles", "list": "l", "name": "Layout", "position": 3}, {"category": "part of Paragraphs in Styles", "list": "l", "name": "Lead paragraph", "position": 4}, {"category": "part of Layout in Styles", "list": "l", "name": "Common layouts", "position": 5}, {"category": "in Styles", "list": "l", "name": "Lists", "position": 6}, {"category": "part of Lists in Styles", "list": "l", "name": "Bulleted lists", "position": 7}, {"category": "part of Lists in Styles", "list": "l", "name": "Numbered lists", "position": 8}, {"category": "in Components", "list": "l", "name": "Skip link", "position": 9}, {"category": "in 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": "part of Images in Styles", "list": "lorem i", "name": "Illustrations", "position": 1}, {"category": "part of Images in Styles", "list": "lorem i", "name": "Icons", "position": 2}, {"category": "part of Images in Styles", "list": "lorem i", "name": "Using images to give information", "position": 3}, {"category": "in Components", "list": "lorem i", "name": "Inset text", "position": 4}, {"category": "in Styles", "list": "lorem i", "name": "Images", "position": 5}, {"category": "in Patterns", "list": "lorem i", "name": "National Insurance numbers", "position": 6}, {"category": "part of Accessibility strategy in Accessibility", "list": "lorem i", "name": "Principles for increasing accessibility", "position": 7}, {"category": "in Components", "list": "lorem i", "name": "Text input", "position": 8}, {"category": "in Patterns", "list": "lorem i", "name": "Equality information", "position": 9}, {"category": "in Components", "list": "lorem i", "name": "Date input", "position": 10}, …]}, "event": "view_item_list"}]
at Object.toEqual (__tests__/search.test.js:176:41)
|
Run task:
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)
|
Run task
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading