mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-14 12:04:46 +00:00
Fix incorrectly scoped variable
This commit is contained in:
parent
2247e4d465
commit
46ac74a160
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ describe 'ProjectLocator', ->
|
|||
|
||||
it "should not crash with a null", (done)->
|
||||
path = "/other.tex"
|
||||
@locator.findElementByPath {project_id: @project._id, path}, (err, element)->
|
||||
@locator.findElementByPath {project_id: project._id, path}, (err, element)->
|
||||
expect(err).to.exist
|
||||
done()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue