mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 11:01:56 +02: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)
|
||||
.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
|
||||
.should.not.be.called
|
||||
.calledWith(null, @rawUpdates)
|
||||
.should.equal true
|
||||
|
||||
it "should save the new compressed ops into a pack", ->
|
||||
@PackManager.insertCompressedUpdates
|
||||
|
||||
Reference in New Issue
Block a user