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