You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
344 B
13 lines
344 B
var request = require('supertest'); |
|
request = request('http://127.0.0.1:8080'); |
|
|
|
const getAdminResponse = require('./lib/admin').getAdminResponse; |
|
|
|
test('correct number of log entries exist', (done) => { |
|
getAdminResponse('logs') |
|
.then((res) => { |
|
// expect(res.body).toHaveLength(8); |
|
done(); |
|
}); |
|
}); |
|
|
|
|