mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-04-01 02:42:23 -05:00
chore: update unit test sidebar
This commit is contained in:
parent
82e457b7ed
commit
92e1eb00ca
1 changed files with 0 additions and 1 deletions
|
@ -609,7 +609,6 @@ describe('endpoint unit test', () => {
|
|||
const sideBarInfo = res.body;
|
||||
const latestVersion = publishMetadata.versions[publishMetadata['dist-tags'].latest];
|
||||
|
||||
expect(sideBarInfo.name).toBe(latestVersion.name);
|
||||
expect(sideBarInfo.latest.author).toBeDefined();
|
||||
expect(sideBarInfo.latest.author.avatar).toMatch(/www.gravatar.com/);
|
||||
expect(sideBarInfo.latest.author.name).toBe(latestVersion.author.name);
|
||||
|
|
Loading…
Add table
Reference in a new issue