Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix components relying on global builds #588

Merged
merged 3 commits into from
Mar 8, 2018

Conversation

NickColley
Copy link
Contributor

No description provided.

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-588 March 8, 2018 13:36 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-588 March 8, 2018 13:37 Inactive
@@ -26,6 +26,8 @@ Internal:
(PR [#574](https://github.com/alphagov/govuk-frontend/pull/574))
- Ensure render function does not have undefined object
(PR [#587](https://github.com/alphagov/govuk-frontend/pull/587))
- Fix components relying on global builds
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given footer hasn't been released yet, is this something we need to document? As the thing we're fixing was never actually released?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, that's why this change is under 'Internal' not 'Fix'

@@ -22,7 +22,7 @@
"build:dist": "node bin/check-nvmrc.js && gulp build:dist --destination 'dist' && npm run test:build:dist",
"test": "standard && gulp test && npm run test:app && npm run test:components && npm run test:generate:readme",
"test:app": "jest app/__tests__/app.test.js --forceExit # express server fails to end process",
"test:components": "jest src/",
"test:components": "jest src/ && jest tasks/gulp/__tests__/check-individual-components-compile.test.js",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this run all tests under tasks/gulp/__tests__ rather than a specific case?

Copy link
Contributor Author

@NickColley NickColley Mar 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the task tests run 'after' tasks. So they're dependant on a task running.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

}

describe('Individual components', () => {
it('should compile individual scss files', done => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have an expectation in this test (expect not to throw an exception?) to make it explicit what this is testing?

@NickColley NickColley merged commit aeb1350 into master Mar 8, 2018
@NickColley NickColley deleted the fix-components-relying-on-global-builds branch March 8, 2018 14:33
@NickColley NickColley mentioned this pull request Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants