mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Check for a large response body, rather than exact match on the first few bytes.
This commit is contained in:
parent
c6a81c94eb
commit
a6fff2d4e4
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ describe "Filestore", ->
|
|||
@timeout(1000 * 20)
|
||||
request.get @fileUrl, (err, response, body) =>
|
||||
expect(response.statusCode).to.equal 200
|
||||
expect(new Buffer(body.substring(0, 8)).toString('hex')).to.equal 'efbfbd504e470d0a1a0a'
|
||||
expect(body.length).to.be.greaterThan 400
|
||||
done()
|
||||
|
||||
describe "warming the cache", ->
|
||||
|
|
Loading…
Reference in a new issue