mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[misc] DeletingADocumentTests: fix behavior checks
The preloading setup does an initial getDocument request to web-api.
This commit is contained in:
parent
bf8224e2a0
commit
29cea1743b
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ describe('Deleting a document', function () {
|
|||
})
|
||||
|
||||
it('should need to reload the doc if read again', function (done) {
|
||||
MockWebApi.getDocument.resetHistory()
|
||||
MockWebApi.getDocument.called.should.equals(false)
|
||||
return DocUpdaterClient.getDoc(
|
||||
this.project_id,
|
||||
|
|
Loading…
Reference in a new issue