diff options
Diffstat (limited to 'tests/functional/api/static/services.spec.ts')
-rw-r--r-- | tests/functional/api/static/services.spec.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/functional/api/static/services.spec.ts b/tests/functional/api/static/services.spec.ts new file mode 100644 index 0000000..55eef37 --- /dev/null +++ b/tests/functional/api/static/services.spec.ts | |||
@@ -0,0 +1,11 @@ | |||
1 | import { test } from '@japa/runner'; | ||
2 | import { apiVersion } from '../../../config'; | ||
3 | |||
4 | test.group('API / Static / Services', () => { | ||
5 | test('returns a 200 response with empty array', async ({ client }) => { | ||
6 | const response = await client.get(`/${apiVersion}/services`); | ||
7 | |||
8 | response.assertStatus(200); | ||
9 | response.assertBody([]); | ||
10 | }); | ||
11 | }); | ||