mirror of
https://github.com/Retropex/umbrel-bitcoin.git
synced 2025-05-12 19:20:49 +02:00
18 lines
358 B
JavaScript
18 lines
358 B
JavaScript
/* globals requester */
|
|
|
|
describe('ping', () => {
|
|
it('should respond on /ping GET', done => {
|
|
requester
|
|
.get('/ping')
|
|
.end((err, res) => {
|
|
if (err) {
|
|
done(err);
|
|
}
|
|
res.should.have.status(200);
|
|
res.should.be.json;
|
|
res.body.should.have.property('version');
|
|
done();
|
|
});
|
|
});
|
|
});
|