avoid leak when calling chai.should() repeatedly in smoke test

This commit is contained in:
Brian Gough 2015-05-05 09:51:45 +01:00
parent b08349e07c
commit f7d6c9de31

View file

@ -1,5 +1,5 @@
chai = require("chai") chai = require("chai")
chai.should() chai.should() unless Object.prototype.should?
expect = chai.expect expect = chai.expect
request = require "request" request = require "request"
Settings = require "settings-sharelatex" Settings = require "settings-sharelatex"