initial commit
This commit is contained in:
8
tests/functional/hello_world.spec.ts
Normal file
8
tests/functional/hello_world.spec.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { test } from '@japa/runner'
|
||||
|
||||
test('display welcome page', async ({ client }) => {
|
||||
const response = await client.get('/')
|
||||
|
||||
response.assertStatus(200)
|
||||
response.assertTextIncludes('<h1 class="title"> It Works! </h1>')
|
||||
})
|
||||
Reference in New Issue
Block a user