Minor adjustments for "components" -> "features" renaming
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
This commit is contained in:
@@ -74,7 +74,7 @@ createDevApp()
|
||||
<DevWrapper>
|
||||
<InfoCardPlus>
|
||||
<Typography variant="h4">Dev notes</Typography>
|
||||
<Typography>Each components can be omitted</Typography>
|
||||
<Typography>Each feature can be omitted</Typography>
|
||||
<Typography>Success callbacks can also be added</Typography>
|
||||
</InfoCardPlus>
|
||||
|
||||
@@ -84,7 +84,7 @@ createDevApp()
|
||||
repo: 'playground-semver',
|
||||
versioningStrategy: 'semver',
|
||||
}}
|
||||
components={{
|
||||
features={{
|
||||
createRc: {
|
||||
successCb: ({
|
||||
comparisonUrl,
|
||||
|
||||
@@ -37,7 +37,7 @@ describe('Features', () => {
|
||||
it('should omit features omitted via configuration', async () => {
|
||||
const { getByTestId } = render(
|
||||
<Features
|
||||
components={{
|
||||
features={{
|
||||
info: { omit: false },
|
||||
createRc: { omit: true },
|
||||
promoteRc: { omit: true },
|
||||
|
||||
@@ -37,6 +37,7 @@ describe('Info', () => {
|
||||
<Info
|
||||
latestRelease={mockReleaseCandidateCalver}
|
||||
releaseBranch={mockReleaseBranch}
|
||||
statsEnabled
|
||||
/>,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user