Explicitly name projectOwnerEmail to the test for clarity

GitOrigin-RevId: 816faa68b7f8664269757918aac8199cbe3fc10f
This commit is contained in:
M Fahru 2022-07-08 08:22:28 -04:00 committed by Copybot
parent 3990e182d7
commit 045a1523d9

View file

@ -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(