mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #7930 from overleaf/fix-tsc-typings
Fix typescript errors GitOrigin-RevId: b49235a3d9d6277e7c2de5bc7a79b7cafae75e2e
This commit is contained in:
+3
-3
@@ -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/)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user