overleaf/services/clsi/test/acceptance/js/Stats.js
2021-07-13 12:04:48 +01:00

16 lines
367 B
JavaScript

const request = require('request')
const Settings = require('@overleaf/settings')
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()
}
)
})