Merge pull request #9245 from overleaf/integration-project-dashboard-react-migration
[Integration branch] Project Dashboard React Migration GitOrigin-RevId: 3c3db39109a8137c57995f5f7c0ff8c800f04c4e
This commit is contained in:
committed by
Copybot
parent
3687ca60bb
commit
a0fabee3b4
@@ -63,22 +63,6 @@ describe('ProjectHelper', function () {
|
||||
})
|
||||
})
|
||||
|
||||
describe('project.archived being a boolean', function () {
|
||||
it('returns true if archived is true', function () {
|
||||
this.project.archived = true
|
||||
expect(
|
||||
this.ProjectHelper.isArchived(this.project, this.user._id)
|
||||
).to.equal(true)
|
||||
})
|
||||
|
||||
it('returns false if archived is false', function () {
|
||||
this.project.archived = false
|
||||
expect(
|
||||
this.ProjectHelper.isArchived(this.project, this.user._id)
|
||||
).to.equal(false)
|
||||
})
|
||||
})
|
||||
|
||||
describe('project.archived being undefined', function () {
|
||||
it('returns false if archived is undefined', function () {
|
||||
this.project.archived = undefined
|
||||
|
||||
Reference in New Issue
Block a user