diff options
Diffstat (limited to 'tests/functional/static-pages/privacy.spec.ts')
-rw-r--r-- | tests/functional/static-pages/privacy.spec.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/functional/static-pages/privacy.spec.ts b/tests/functional/static-pages/privacy.spec.ts new file mode 100644 index 0000000..f1d5bec --- /dev/null +++ b/tests/functional/static-pages/privacy.spec.ts | |||
@@ -0,0 +1,10 @@ | |||
1 | import { test } from '@japa/runner'; | ||
2 | |||
3 | test.group('privacy page', () => { | ||
4 | test('returns a 200 response', async ({ client }) => { | ||
5 | const response = await client.get('/privacy'); | ||
6 | |||
7 | response.assertStatus(200); | ||
8 | response.assertTextIncludes('PRIVACY POLICY'); | ||
9 | }); | ||
10 | }); | ||