Skip to content

Added {suitename} as possible injection value for classNameTemplate - #138

Merged
palmerj3 merged 1 commit into
jest-community:masterfrom
dtom90:suitename-injection-value
Jul 24, 2020
Merged

Added {suitename} as possible injection value for classNameTemplate#138
palmerj3 merged 1 commit into
jest-community:masterfrom
dtom90:suitename-injection-value

Conversation

@dtom90

@dtom90 dtom90 commented Jul 24, 2020

Copy link
Copy Markdown
Contributor

Allows the user to create a classNameTemplate which contains {suitename}

This was the main case I was looking for, but could also be done for suiteNameTemplate and titleNameTemplate if it seems helpful.

Also added a few tests for classNameTemplate and corrected a link in index.js

@dtom90
dtom90 force-pushed the suitename-injection-value branch from ebd865a to 1410bb8 Compare July 24, 2020 19:44
@palmerj3

Copy link
Copy Markdown
Collaborator

Sweet! Looks good to me.

I'll push a new release this weekend.

@palmerj3
palmerj3 merged commit cd5c96f into jest-community:master Jul 24, 2020
@dtom90

dtom90 commented Jul 24, 2020

Copy link
Copy Markdown
Contributor Author

Awesome, thanks!

@palmerj3

Copy link
Copy Markdown
Collaborator

This is now published as part of 11.1.0.

Thanks!

@dtom90

dtom90 commented Jul 27, 2020

Copy link
Copy Markdown
Contributor Author

All working in our build environment. Thanks again for the quick merge & release!

This was referenced Jun 6, 2021
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