mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-29 01:58:54 +00:00
11 lines
357 B
TypeScript
11 lines
357 B
TypeScript
|
import * as request from 'supertest';
|
||
|
|
||
|
const BALENA_SUPERVISOR_ADDRESS =
|
||
|
process.env.BALENA_SUPERVISOR_ADDRESS || 'http://balena-supervisor:48484';
|
||
|
|
||
|
describe('supervisor app', () => {
|
||
|
it('the supervisor app runs and the API responds with a healthy status', async () => {
|
||
|
await request(BALENA_SUPERVISOR_ADDRESS).get('/v1/healthy').expect(200);
|
||
|
});
|
||
|
});
|