1 2 3 4 5 6 7 8 9 10
import { test } from '@japa/runner' test.group('terms page', () => { test('returns a 200 response', async ({ client }) => { const response = await client.get('/terms') response.assertStatus(200) response.assertTextIncludes('Terms of Service') }) })