mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Fix error type assertion
This commit is contained in:
parent
ec8637ead1
commit
23de113393
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ describe 'ProjectEntityHandler', ->
|
|||
|
||||
it "should return an error", ->
|
||||
@callback
|
||||
.calledWith(new Error("destination folder is a child folder of me"))
|
||||
.calledWith(new Errors.InvalidNameError("destination folder is a child folder of me"))
|
||||
.should.equal true
|
||||
|
||||
describe '_removeElementFromMongoArray ', ->
|
||||
|
|
Loading…
Reference in a new issue