mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #8226 from overleaf/ae-remaining-types
[web] Fix remaining strict type checks GitOrigin-RevId: 69881c37938f88c7ea4a630f362712a804085bc8
This commit is contained in:
@@ -202,10 +202,10 @@ describe('UserEmailContext', function () {
|
||||
'new department'
|
||||
)
|
||||
expect(
|
||||
result.current.state.data.byId['foo@overleaf.com'].affiliation.role
|
||||
result.current.state.data.byId['foo@overleaf.com'].affiliation!.role
|
||||
).to.equal('new role')
|
||||
expect(
|
||||
result.current.state.data.byId['foo@overleaf.com'].affiliation
|
||||
result.current.state.data.byId['foo@overleaf.com'].affiliation!
|
||||
.department
|
||||
).to.equal('new department')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user