mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #45 from sharelatex/bg-fix-broken-unit-test
fix broken unit test
This commit is contained in:
commit
9dafaea64b
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue