blob: 71b5797c1362fbfd43d3c3bd2f84d58cdd5a5621 (
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([])
})
})
|