mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
Explicitly name projectOwnerEmail to the test for clarity
GitOrigin-RevId: 816faa68b7f8664269757918aac8199cbe3fc10f
This commit is contained in:
+3
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user