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

Stop installing govuk-prototype-kit globally in tests #1632

Merged
merged 4 commits into from
Sep 29, 2022
Merged

Conversation

lfdebrux
Copy link
Member

@lfdebrux lfdebrux commented Sep 29, 2022

We don't want to accidentally end up with development code installed in system Node installation after running tests.

@lfdebrux lfdebrux force-pushed the ldeb-no-install-g branch 2 times, most recently from a88fd2d to 9d0fabf Compare September 29, 2022 09:59
We don't want to accidentally end up with development code installed in
system Node installation after running tests.
- log test directory
- echo to stderr
- no need to create directory for create script
- run in repo dir instead of test dir
- use remove instead of rmdir to avoid deprecation warnings
- use writeJson to simplify creating tracking config
On Windows if given an absolute path starting with drive `create` would
error with `Path contains invalid characters`.
@lfdebrux lfdebrux merged commit 49bfc86 into v13 Sep 29, 2022
@lfdebrux lfdebrux deleted the ldeb-no-install-g branch September 29, 2022 18:25
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.

2 participants