aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/api/static/news.spec.ts
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2024-02-10 18:37:40 -0700
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2024-02-13 06:59:44 +0530
commite1c47572a6235fd8fd20af888ac3a11c7ae1369d (patch)
tree2dccff36a441916d7014037cef3f7ce84a790cad /tests/functional/api/static/news.spec.ts
parentrefactor: project maintenance (diff)
downloadferdium-server-e1c47572a6235fd8fd20af888ac3a11c7ae1369d.tar.gz
ferdium-server-e1c47572a6235fd8fd20af888ac3a11c7ae1369d.tar.zst
ferdium-server-e1c47572a6235fd8fd20af888ac3a11c7ae1369d.zip
updates
Diffstat (limited to 'tests/functional/api/static/news.spec.ts')
-rw-r--r--tests/functional/api/static/news.spec.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/functional/api/static/news.spec.ts b/tests/functional/api/static/news.spec.ts
index 71b5797..28ca64e 100644
--- a/tests/functional/api/static/news.spec.ts
+++ b/tests/functional/api/static/news.spec.ts
@@ -1,11 +1,11 @@
1import { test } from '@japa/runner' 1import { test } from '@japa/runner';
2import { apiVersion } from '../../../config.js' 2import { apiVersion } from '../../../config.js';
3 3
4test.group('API / Static / News', () => { 4test.group('API / Static / News', () => {
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}/news`) 6 const response = await client.get(`/${apiVersion}/news`);
7 7
8 response.assertStatus(200) 8 response.assertStatus(200);
9 response.assertBody([]) 9 response.assertBody([]);
10 }) 10 });
11}) 11});