mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
clear error if s3 keys are not set for tests
This commit is contained in:
@@ -16,6 +16,10 @@ MockWebApi = require "./helpers/MockWebApi"
|
||||
|
||||
describe "Archiving updates", ->
|
||||
before (done) ->
|
||||
if Settings?.trackchanges?.s3?.key.length < 1
|
||||
message = "s3 keys not setup, this test setup will fail"
|
||||
return done(message)
|
||||
|
||||
@now = Date.now()
|
||||
@to = @now
|
||||
@user_id = ObjectId().toString()
|
||||
|
||||
Reference in New Issue
Block a user