Add createAll
function to initialise individual components
#11643
tests.yml
on: pull_request
Matrix: Install
Matrix: Build
Diff changes to npm package
/
Generate diff
59s
Stats comment
/
Generate stats
34s
Matrix: lint
Percy
/
Send screenshots
1m 21s
Matrix: Bundler integrations / Test tree shaking
Matrix: package
Matrix: test
Matrix: verify
Annotations
4 errors
dist/ › govuk-frontend-[version].min.js.map › should contain relative paths to sources:
packages/govuk-frontend/tasks/build/release.unit.test.mjs#L128
expect(received).toContain(expected) // indexOf
Expected value: "../packages/govuk-frontend/src/govuk/all.mjs"
Received array: ["../packages/govuk-frontend/src/govuk/common/govuk-frontend-version.mjs", "../packages/govuk-frontend/src/govuk/common/normalise-string.mjs", "../packages/govuk-frontend/src/govuk/common/index.mjs", "../packages/govuk-frontend/src/govuk/common/normalise-dataset.mjs", "../packages/govuk-frontend/src/govuk/errors/index.mjs", "../packages/govuk-frontend/src/govuk/govuk-frontend-component.mjs", "../packages/govuk-frontend/src/govuk/i18n.mjs", "../packages/govuk-frontend/src/govuk/components/accordion/accordion.mjs", "../packages/govuk-frontend/src/govuk/components/button/button.mjs", "../packages/govuk-frontend/src/govuk/common/closest-attribute-value.mjs", …]
at Object.toContain (packages/govuk-frontend/tasks/build/release.unit.test.mjs:128:33)
|
Verify distribution build (ubuntu-latest)
Process completed with exit code 1.
|
dist/ › govuk-frontend-[version].min.js.map › should contain relative paths to sources:
packages/govuk-frontend/tasks/build/release.unit.test.mjs#L128
expect(received).toContain(expected) // indexOf
Expected value: "../packages/govuk-frontend/src/govuk/all.mjs"
Received array: ["../packages/govuk-frontend/src/govuk/common/govuk-frontend-version.mjs", "../packages/govuk-frontend/src/govuk/common/normalise-string.mjs", "../packages/govuk-frontend/src/govuk/common/index.mjs", "../packages/govuk-frontend/src/govuk/common/normalise-dataset.mjs", "../packages/govuk-frontend/src/govuk/errors/index.mjs", "../packages/govuk-frontend/src/govuk/govuk-frontend-component.mjs", "../packages/govuk-frontend/src/govuk/i18n.mjs", "../packages/govuk-frontend/src/govuk/components/accordion/accordion.mjs", "../packages/govuk-frontend/src/govuk/components/button/button.mjs", "../packages/govuk-frontend/src/govuk/common/closest-attribute-value.mjs", …]
at Object.toContain (packages/govuk-frontend/tasks/build/release.unit.test.mjs:128:33)
|
Verify distribution build (windows-latest)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
JavaScript behaviour tests coverage (ubuntu-latest)
|
230 KB |
|
JavaScript behaviour tests coverage (windows-latest)
|
230 KB |
|
JavaScript unit tests coverage (ubuntu-latest)
|
213 KB |
|
JavaScript unit tests coverage (windows-latest)
|
213 KB |
|
Package diff
|
11 KB |
|