Skip to content

Update name and description of macro options in docs and code #13323

Update name and description of macro options in docs and code

Update name and description of macro options in docs and code #13323

Triggered via pull request February 4, 2025 19:36
Status Cancelled
Total duration 5m 23s
Artifacts 5

tests.yml

on: pull_request
Matrix: Install
Matrix: Build
Diff changes to npm package  /  Generate diff
1m 6s
Diff changes to npm package / Generate diff
Stats comment  /  Generate stats
42s
Stats comment / Generate stats
Matrix: lint
Percy  /  Send screenshots
1m 20s
Percy / Send screenshots
Matrix: Bundler integrations / Test tree shaking
Matrix: package
Matrix: test
Matrix: verify
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Prettier (ubuntu-22.04)
Process completed with exit code 1.
Prettier (windows-latest)
Process completed with exit code 1.
packages/govuk-frontend/dist/ › Components › should have macro-options.json that contains JSON: packages/govuk-frontend/tasks/build/package.unit.test.mjs#L294
expect(received).toEqual(expected) // deep equality - Expected - 5 + Received + 5 - ObjectContaining { - "description": Any<String>, - "name": StringMatching /^[A-Z]+$/i, - "required": Any<Boolean>, - "type": StringMatching /array|boolean|integer|string|object|nunjucks-block/, + Object { + "description": "The text announced by assistive technology when user drags files and leaves the drop zone without dropping. Default is `\"Left drop zone\"`. If `javascript` is not provided, this option will be ignored.", + "name": "leftDropZoneText", + "require": false, + "type": "string", } at toEqual (packages/govuk-frontend/tasks/build/package.unit.test.mjs:294:26) at Array.map (<anonymous>) at map (packages/govuk-frontend/tasks/build/package.unit.test.mjs:293:37) at async Promise.all (index 13)
Verify package build (ubuntu-22.04)
Process completed with exit code 1.
packages/govuk-frontend/dist/ › Components › should have macro-options.json that contains JSON: packages/govuk-frontend/tasks/build/package.unit.test.mjs#L294
expect(received).toEqual(expected) // deep equality - Expected - 5 + Received + 5 - ObjectContaining { - "description": Any<String>, - "name": StringMatching /^[A-Z]+$/i, - "required": Any<Boolean>, - "type": StringMatching /array|boolean|integer|string|object|nunjucks-block/, + Object { + "description": "The text announced by assistive technology when user drags files and leaves the drop zone without dropping. Default is `\"Left drop zone\"`. If `javascript` is not provided, this option will be ignored.", + "name": "leftDropZoneText", + "require": false, + "type": "string", } at toEqual (packages/govuk-frontend/tasks/build/package.unit.test.mjs:294:26) at Array.map (<anonymous>) at map (packages/govuk-frontend/tasks/build/package.unit.test.mjs:293:37) at async Promise.all (index 13)
Verify package build (windows-latest)
Process completed with exit code 1.
Accessibility tests (windows-latest)
Canceling since a higher priority waiting request for 'tests-file-upload-macro-options-docs' exists
Accessibility tests (windows-latest)
The operation was canceled.

Artifacts

Produced during runtime
Name Size
JavaScript behaviour tests coverage (ubuntu-22.04)
243 KB
JavaScript behaviour tests coverage (windows-latest)
243 KB
JavaScript unit tests coverage (ubuntu-22.04)
222 KB
JavaScript unit tests coverage (windows-latest)
222 KB
Package diff
5.55 KB