mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Explicitly name projectOwnerEmail to the test for clarity
GitOrigin-RevId: 816faa68b7f8664269757918aac8199cbe3fc10f
This commit is contained in:
parent
3990e182d7
commit
045a1523d9
1 changed files with 3 additions and 1 deletions
|
@ -317,7 +317,9 @@ describe('<ShareProjectModal/>', function () {
|
|||
},
|
||||
})
|
||||
|
||||
expect(screen.queryAllByText(USER_EMAIL)).to.have.length(1)
|
||||
const projectOwnerEmail = USER_EMAIL
|
||||
|
||||
expect(screen.queryAllByText(projectOwnerEmail)).to.have.length(1)
|
||||
expect(screen.queryAllByText('member-author@example.com')).to.have.length(1)
|
||||
expect(screen.queryAllByText('member-viewer@example.com')).to.have.length(1)
|
||||
expect(screen.queryAllByText('invited-author@example.com')).to.have.length(
|
||||
|
|
Loading…
Reference in a new issue