mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-22 19:37:38 +00:00
Merge branch 'master' into sk-node-6
This commit is contained in:
commit
1d0e0e68aa
1 changed files with 3 additions and 4 deletions
|
@ -104,11 +104,10 @@ describe "UpdatesManager", ->
|
|||
.calledWith(@doc_id)
|
||||
.should.equal true
|
||||
|
||||
# FIXME: Broken test, was hidden by an api mistake
|
||||
it "should defer the compression of raw ops until they are written in a new pack", ->
|
||||
console.log @UpdateCompressor.compressRawUpdates.called
|
||||
it "should compress the raw ops", ->
|
||||
@UpdateCompressor.compressRawUpdates
|
||||
.called.should.not.equal true
|
||||
.calledWith(null, @rawUpdates)
|
||||
.should.equal true
|
||||
|
||||
it "should save the new compressed ops into a pack", ->
|
||||
@PackManager.insertCompressedUpdates
|
||||
|
|
Loading…
Add table
Reference in a new issue