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

feat: Change project config from name to id #11089

Conversation

joaopedrodcf
Copy link

Summary

The objective of this MR is to close the #10013 that is one of the milestones for the jest 27
https://github.com/facebook/jest/milestone/12

Changed the jest-core configs from id to name

Close #10013

Test plan

CI passing green after the refactor

@joaopedrodcf joaopedrodcf force-pushed the feat/projectconfig_from_name_to_id branch 6 times, most recently from d3cbc7d to 8d4f65d Compare February 17, 2021 23:07
@@ -7,6 +7,7 @@

import type {Config} from '@jest/types';

// TODO should we had the description of id that was previously name
const descriptions: {[key in keyof Config.InitialOptions]: string} = {
Copy link
Author

Choose a reason for hiding this comment

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

Should we have a description of what the id does? @SimenB
And should it be added in the docs? https://jestjs.io/docs/en/cli
If so what would be the correct description?

@joaopedrodcf joaopedrodcf changed the title WIP: feat: Change project config from name to id feat: Change project config from name to id Feb 17, 2021
@joaopedrodcf joaopedrodcf force-pushed the feat/projectconfig_from_name_to_id branch from 8d4f65d to 546c685 Compare February 17, 2021 23:34
@joaopedrodcf
Copy link
Author

@SimenB can you review this? 🙏

@github-actions
Copy link

github-actions bot commented May 9, 2022

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename ProjectConfig.name to ProjectConfig.id
2 participants