blob: 28ca64ea86dab8bccb08a747b2742351c4468417 (
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 / News', () => {
test('returns a 200 response with empty array', async ({ client }) => {
const response = await client.get(`/${apiVersion}/news`);
response.assertStatus(200);
response.assertBody([]);
});
});
|