mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #9790 from overleaf/ds-bug-fix-fetchmock
Bug fix- added a missing fetchMock in a test GitOrigin-RevId: c0bb97f6874afa125ea0e966ff819b6fa7e245c9
This commit is contained in:
parent
5aa325cf51
commit
188e8c99a7
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ describe('<EmailsSection />', function () {
|
|||
|
||||
it('renders "Start adding your address" until a valid email is typed', async function () {
|
||||
fetchMock.get('/user/emails?ensureAffiliation=true', [])
|
||||
fetchMock.get(`/institutions/domains?hostname=email.com&limit=1`, 200)
|
||||
fetchMock.get(`/institutions/domains?hostname=email&limit=1`, 200)
|
||||
render(<EmailsSection />)
|
||||
|
||||
const addAnotherEmailBtn = (await screen.findByRole('button', {
|
||||
|
|
Loading…
Reference in a new issue