mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-03 17:07:29 -08:00
23 lines
463 B
TypeScript
23 lines
463 B
TypeScript
import { setupBrokerTestServer } from '@test-integration/utils/task-broker-test-server';
|
|
|
|
describe('TaskRunnerServer', () => {
|
|
const { agent, server } = setupBrokerTestServer({
|
|
authToken: 'token',
|
|
mode: 'external',
|
|
});
|
|
|
|
beforeAll(async () => {
|
|
await server.start();
|
|
});
|
|
|
|
afterAll(async () => {
|
|
await server.stop();
|
|
});
|
|
|
|
describe('/healthz', () => {
|
|
it('should return 200', async () => {
|
|
await agent.get('/healthz').expect(200);
|
|
});
|
|
});
|
|
});
|