tethys.backend/tests/functional/hello_world.spec.ts
Arno Kaimbacher 8cef7390d7
All checks were successful
CI Pipeline / japa-tests (push) Successful in 57s
- removed extra test datacite accounts from .env
- updated DoiClient.ts
- removed test error via /welcome page
- npm updates
2024-01-31 13:19:46 +01:00

9 lines
250 B
TypeScript

import { test } from '@japa/runner';
test('display welcome page', async ({ client }) => {
const response = await client.get('/welcome');
response.assertStatus(200);
response.assertTextIncludes('<h1 class="title"> It Works! </h1>');
});