mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
log out after smoke tests
This commit is contained in:
parent
af2de3cdeb
commit
6f9969d6e1
1 changed files with 11 additions and 0 deletions
|
@ -34,6 +34,17 @@ describe "Opening", ->
|
|||
throw error if error?
|
||||
done()
|
||||
|
||||
after (done)->
|
||||
request.get {
|
||||
url: buildUrl("logout")
|
||||
headers:
|
||||
"X-Forwarded-Proto": "https"
|
||||
}, (error, response, body) =>
|
||||
throw error if error?
|
||||
done()
|
||||
|
||||
|
||||
|
||||
it "a project", (done) ->
|
||||
request {
|
||||
url: buildUrl("project/#{Settings.smokeTest.projectId}")
|
||||
|
|
Loading…
Reference in a new issue