Skip to content

Commit

Permalink
Rename last updated badge
Browse files Browse the repository at this point in the history
  • Loading branch information
aiden2480 committed Oct 21, 2024
1 parent dec74c4 commit 797d92a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class ChromeWebStoreLastUpdated extends BaseChromeWebStoreService
}

static defaultBadgeData = {
label: 'extension last updated',
label: 'last updated',
}

async handle({ storeId }) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ export const t = await createServiceTester()
t.create('Last updated')
.get('/nccfelhkfpbnefflolffkclhenplhiab.json')
.expectBadge({
label: 'extension last updated',
label: 'last updated',
message: isFormattedDate,
})

t.create('Last updated (not found)')
.get('/invalid-name-of-addon.json')
.expectBadge({
label: 'extension last updated',
label: 'last updated',
message: 'not found',
})

0 comments on commit 797d92a

Please sign in to comment.