diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2024-02-10 18:37:40 -0700 |
---|---|---|
committer | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2024-02-10 18:37:40 -0700 |
commit | 2ad43db1ed01fe0b5b116ddda1a5177c9f62c130 (patch) | |
tree | 8a6c6b551e7216d40c86e0954d828c783848a37b /tests/functional/static-pages/terms.spec.ts | |
parent | refactor: project maintenance (diff) | |
download | ferdium-server-2ad43db1ed01fe0b5b116ddda1a5177c9f62c130.tar.gz ferdium-server-2ad43db1ed01fe0b5b116ddda1a5177c9f62c130.tar.zst ferdium-server-2ad43db1ed01fe0b5b116ddda1a5177c9f62c130.zip |
updates
Diffstat (limited to 'tests/functional/static-pages/terms.spec.ts')
-rw-r--r-- | tests/functional/static-pages/terms.spec.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/functional/static-pages/terms.spec.ts b/tests/functional/static-pages/terms.spec.ts index 9c22257..de990e4 100644 --- a/tests/functional/static-pages/terms.spec.ts +++ b/tests/functional/static-pages/terms.spec.ts | |||
@@ -1,10 +1,10 @@ | |||
1 | import { test } from '@japa/runner' | 1 | import { test } from '@japa/runner'; |
2 | 2 | ||
3 | test.group('terms page', () => { | 3 | test.group('terms page', () => { |
4 | test('returns a 200 response', async ({ client }) => { | 4 | test('returns a 200 response', async ({ client }) => { |
5 | const response = await client.get('/terms') | 5 | const response = await client.get('/terms'); |
6 | 6 | ||
7 | response.assertStatus(200) | 7 | response.assertStatus(200); |
8 | response.assertTextIncludes('Terms of Service') | 8 | response.assertTextIncludes('Terms of Service'); |
9 | }) | 9 | }); |
10 | }) | 10 | }); |