balena-supervisor/test/integration/supervisor.spec.ts
Felipe Lalanne 6217546894 Update typescript to v5
This also updates code to use the default import syntax instead of
`import * as` when the imported module exposes a default. This is needed
with the latest typescript version.

Change-type: patch
2024-03-05 15:33:56 -03:00

11 lines
352 B
TypeScript

import 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);
});
});