Merge pull request #22204 from overleaf/mj-papers-linking

[web+third-party-references] Add linking to papers account

GitOrigin-RevId: dbf6a01b16ae661558da01549922294278dbda70
This commit is contained in:
Mathias Jakobsen
2024-12-04 09:04:47 +00:00
committed by Copybot
parent d1735f549c
commit 63a9e99375
8 changed files with 79 additions and 0 deletions
@@ -36,6 +36,7 @@ describe('UserPagesController', function () {
refProviders: {
mendeley: { encrypted: 'aaaa' },
zotero: { encrypted: 'bbbb' },
papers: { encrypted: 'cccc' },
},
}
this.adminEmail = 'group-admin-email@overleaf.com'
@@ -338,6 +339,7 @@ describe('UserPagesController', function () {
this.res.callback = () => {
expect(this.res.renderedVariables.user.refProviders).to.deep.equal({
mendeley: true,
papers: true,
zotero: true,
})
done()