diff options
author | 2024-02-10 18:19:14 -0700 | |
---|---|---|
committer | 2024-02-13 06:59:44 +0530 | |
commit | 7584d2d7a7110aef0331ebfa178b2295842c59fa (patch) | |
tree | 900cd71237e6231b57936fcce77ff229cd459041 /tests/functional/api/static/services.spec.ts | |
parent | upgrade recipes submodule (diff) | |
download | ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.tar.gz ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.tar.zst ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.zip |
refactor: project maintenance
- work in progress
Diffstat (limited to 'tests/functional/api/static/services.spec.ts')
-rw-r--r-- | tests/functional/api/static/services.spec.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/functional/api/static/services.spec.ts b/tests/functional/api/static/services.spec.ts index 55eef37..595b8dc 100644 --- a/tests/functional/api/static/services.spec.ts +++ b/tests/functional/api/static/services.spec.ts | |||
@@ -1,11 +1,11 @@ | |||
1 | import { test } from '@japa/runner'; | 1 | import { test } from '@japa/runner' |
2 | import { apiVersion } from '../../../config'; | 2 | import { apiVersion } from '../../../config.js' |
3 | 3 | ||
4 | test.group('API / Static / Services', () => { | 4 | test.group('API / Static / Services', () => { |
5 | test('returns a 200 response with empty array', async ({ client }) => { | 5 | test('returns a 200 response with empty array', async ({ client }) => { |
6 | const response = await client.get(`/${apiVersion}/services`); | 6 | const response = await client.get(`/${apiVersion}/services`) |
7 | 7 | ||
8 | response.assertStatus(200); | 8 | response.assertStatus(200) |
9 | response.assertBody([]); | 9 | response.assertBody([]) |
10 | }); | 10 | }) |
11 | }); | 11 | }) |