mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Test anonymous volumes are removed with containers
This commit is contained in:
parent
1c13f6fe94
commit
14e1e02a68
1 changed files with 2 additions and 2 deletions
|
@ -802,7 +802,7 @@ describe('DockerRunner', function () {
|
||||||
(err) => {
|
(err) => {
|
||||||
this.fakeContainer.remove.callCount.should.equal(1)
|
this.fakeContainer.remove.callCount.should.equal(1)
|
||||||
this.fakeContainer.remove
|
this.fakeContainer.remove
|
||||||
.calledWithMatch({ force: true })
|
.calledWith({ force: true, v: true })
|
||||||
.should.equal(true)
|
.should.equal(true)
|
||||||
return done()
|
return done()
|
||||||
}
|
}
|
||||||
|
@ -816,7 +816,7 @@ describe('DockerRunner', function () {
|
||||||
(err) => {
|
(err) => {
|
||||||
this.fakeContainer.remove.callCount.should.equal(1)
|
this.fakeContainer.remove.callCount.should.equal(1)
|
||||||
this.fakeContainer.remove
|
this.fakeContainer.remove
|
||||||
.calledWithMatch({ force: false })
|
.calledWith({ force: false, v: true })
|
||||||
.should.equal(true)
|
.should.equal(true)
|
||||||
return done()
|
return done()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue