tethys.backend/tests/functional/hello_world.spec.ts

9 lines
243 B
TypeScript
Raw Normal View History

2023-05-09 14:43:16 +02:00
import { test } from '@japa/runner';
2023-03-03 16:54:28 +01:00
test('display welcome page', async ({ client }) => {
2023-05-09 14:43:16 +02:00
const response = await client.get('/');
2023-03-03 16:54:28 +01:00
2023-05-09 14:43:16 +02:00
response.assertStatus(200);
response.assertTextIncludes('<h1 class="title"> It Works! </h1>');
});