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

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([])
  })
})