Bump the test group across 1 directory with 2 updates #4742
Triggered via pull request
September 18, 2024 15:39
Status
Failure
Total duration
1m 59s
Artifacts
–
Annotations
4 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: undefined
at Object.toEqual (__tests__/search.test.js:176:41)
|
Site search › tracking › should block personally identifable information numbers:
__tests__/search.test.js#L326
expect(received).toEqual(expected) // deep equality
Expected: ArrayContaining [ObjectContaining {"event_data": ObjectContaining {"text": "[REDACTED NUMBER]"}}]
Received: undefined
at Object.toEqual (__tests__/search.test.js:326: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.
|