Merge pull request #7930 from overleaf/fix-tsc-typings

Fix typescript errors

GitOrigin-RevId: b49235a3d9d6277e7c2de5bc7a79b7cafae75e2e
This commit is contained in:
Timothée Alby
2022-05-17 08:03:54 +00:00
committed by Copybot
parent 8c611a8f49
commit afe9e486ae
8 changed files with 53 additions and 22 deletions
@@ -21,7 +21,7 @@ describe('<BetaProgramSection />', function () {
})
it('shows link to sessions', async function () {
renderSectionWithUserProvider(<BetaProgramSection />)
renderSectionWithUserProvider()
const link = screen.getByRole('link', {
name: 'Manage Beta Program Membership',
@@ -31,7 +31,7 @@ describe('<BetaProgramSection />', function () {
})
it('shows enrolled status', async function () {
renderSectionWithUserProvider(<BetaProgramSection />)
renderSectionWithUserProvider()
screen.getByText('You are enrolled in the Beta Program')
})
@@ -39,7 +39,7 @@ describe('<BetaProgramSection />', function () {
window.metaAttributesCache.set('ol-user', {
betaProgram: false,
})
renderSectionWithUserProvider(<BetaProgramSection />)
renderSectionWithUserProvider()
screen.getByText(/By joining our Beta program you can have early access/)
})
})