diff options
author | 2024-02-10 18:37:40 -0700 | |
---|---|---|
committer | 2024-02-13 06:59:44 +0530 | |
commit | e1c47572a6235fd8fd20af888ac3a11c7ae1369d (patch) | |
tree | 2dccff36a441916d7014037cef3f7ce84a790cad /tests/functional/static-pages/privacy.spec.ts | |
parent | refactor: project maintenance (diff) | |
download | ferdium-server-e1c47572a6235fd8fd20af888ac3a11c7ae1369d.tar.gz ferdium-server-e1c47572a6235fd8fd20af888ac3a11c7ae1369d.tar.zst ferdium-server-e1c47572a6235fd8fd20af888ac3a11c7ae1369d.zip |
updates
Diffstat (limited to 'tests/functional/static-pages/privacy.spec.ts')
-rw-r--r-- | tests/functional/static-pages/privacy.spec.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/functional/static-pages/privacy.spec.ts b/tests/functional/static-pages/privacy.spec.ts index b79f580..f1d5bec 100644 --- a/tests/functional/static-pages/privacy.spec.ts +++ b/tests/functional/static-pages/privacy.spec.ts | |||
@@ -1,10 +1,10 @@ | |||
1 | import { test } from '@japa/runner' | 1 | import { test } from '@japa/runner'; |
2 | 2 | ||
3 | test.group('privacy page', () => { | 3 | test.group('privacy page', () => { |
4 | test('returns a 200 response', async ({ client }) => { | 4 | test('returns a 200 response', async ({ client }) => { |
5 | const response = await client.get('/privacy') | 5 | const response = await client.get('/privacy'); |
6 | 6 | ||
7 | response.assertStatus(200) | 7 | response.assertStatus(200); |
8 | response.assertTextIncludes('PRIVACY POLICY') | 8 | response.assertTextIncludes('PRIVACY POLICY'); |
9 | }) | 9 | }); |
10 | }) | 10 | }); |