mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #45 from sharelatex/bg-fix-broken-unit-test
fix broken unit test
This commit is contained in:
@@ -104,9 +104,10 @@ describe "UpdatesManager", ->
|
|||||||
.calledWith(@doc_id)
|
.calledWith(@doc_id)
|
||||||
.should.equal true
|
.should.equal true
|
||||||
|
|
||||||
it "should defer the compression of raw ops until they are written in a new pack", ->
|
it "should compress the raw ops", ->
|
||||||
@UpdateCompressor.compressRawUpdates
|
@UpdateCompressor.compressRawUpdates
|
||||||
.should.not.be.called
|
.calledWith(null, @rawUpdates)
|
||||||
|
.should.equal true
|
||||||
|
|
||||||
it "should save the new compressed ops into a pack", ->
|
it "should save the new compressed ops into a pack", ->
|
||||||
@PackManager.insertCompressedUpdates
|
@PackManager.insertCompressedUpdates
|
||||||
|
|||||||
Reference in New Issue
Block a user