mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
17 lines
367 B
JavaScript
17 lines
367 B
JavaScript
|
const request = require('request')
|
||
|
const Settings = require('settings-sharelatex')
|
||
|
after(function (done) {
|
||
|
request(
|
||
|
{
|
||
|
url: `${Settings.apis.clsi.url}/metrics`
|
||
|
},
|
||
|
(err, response, body) => {
|
||
|
if (err) return done(err)
|
||
|
console.error('-- metrics --')
|
||
|
console.error(body)
|
||
|
console.error('-- metrics --')
|
||
|
done()
|
||
|
}
|
||
|
)
|
||
|
})
|