Merge pull request #19206 from overleaf/tm-link-sharing-changes-events

Implement link sharing warning events by reusing the StartFreeTrial paywall button component from the original modal

GitOrigin-RevId: 9c16407ad8a7b5afc9b5b13be1491ef903ae74a3
This commit is contained in:
Thomas
2024-07-02 08:04:25 +00:00
committed by Copybot
parent a419fdf1a8
commit 566466185b
7 changed files with 124 additions and 27 deletions
@@ -135,6 +135,9 @@ describe('ProjectController', function () {
this.UserGetter = {
getUserFullEmails: sinon.stub().yields(null, []),
getUser: sinon.stub().resolves({ lastLoginIp: '192.170.18.2' }),
promises: {
getUserFeatures: sinon.stub().resolves(null, { collaborators: 1 }),
},
}
this.Features = {
hasFeature: sinon.stub(),