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

9 lines
250 B
TypeScript
Raw Normal View History

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