fix [pub] points badge test and example (#8498)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
@@ -26,7 +26,7 @@ export default class PubPoints extends BaseJsonService {
|
||||
keywords,
|
||||
documentation,
|
||||
namedParams: { packageName: 'analysis_options' },
|
||||
staticPreview: this.render({ grantedPoints: 120, maxPoints: 130 }),
|
||||
staticPreview: this.render({ grantedPoints: 120, maxPoints: 140 }),
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ t.create('pub points (valid)')
|
||||
.get('/analysis_options.json')
|
||||
.expectBadge({
|
||||
label: 'points',
|
||||
message: Joi.string().regex(/^\d+\/130$/),
|
||||
message: Joi.string().regex(/^\d+\/140$/),
|
||||
})
|
||||
|
||||
t.create('pub points (not found)').get('/analysisoptions.json').expectBadge({
|
||||
|
||||
Reference in New Issue
Block a user