aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/api/static/services.spec.ts
blob: 55eef37fd44d9ac946612b31e930ce74620e0b2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import { test } from '@japa/runner';
import { apiVersion } from '../../../config';

test.group('API / Static / Services', () => {
  test('returns a 200 response with empty array', async ({ client }) => {
    const response = await client.get(`/${apiVersion}/services`);

    response.assertStatus(200);
    response.assertBody([]);
  });
});