diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2024-02-10 18:19:14 -0700 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2024-02-17 21:51:20 +0530 |
commit | a61e73c33b2e80d5af58e3dcfa2efe74245cd065 (patch) | |
tree | d5343ad245b4156662920896dedf14d9284051f8 /tests/functional/health.spec.ts | |
parent | upgrade node to 20.11.1 and other minor versions for pkgs (#104) (diff) | |
download | ferdium-server-a61e73c33b2e80d5af58e3dcfa2efe74245cd065.tar.gz ferdium-server-a61e73c33b2e80d5af58e3dcfa2efe74245cd065.tar.zst ferdium-server-a61e73c33b2e80d5af58e3dcfa2efe74245cd065.zip |
refactor: project maintenance
- work in progress
Diffstat (limited to 'tests/functional/health.spec.ts')
-rw-r--r-- | tests/functional/health.spec.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/functional/health.spec.ts b/tests/functional/health.spec.ts index 2f7e074..50bf46c 100644 --- a/tests/functional/health.spec.ts +++ b/tests/functional/health.spec.ts | |||
@@ -1,13 +1,13 @@ | |||
1 | import { test } from '@japa/runner'; | 1 | import { test } from '@japa/runner' |
2 | 2 | ||
3 | test.group('health page', () => { | 3 | test.group('health page', () => { |
4 | test('returns a 200 response', async ({ client }) => { | 4 | test('returns a 200 response', async ({ client }) => { |
5 | const response = await client.get('/health'); | 5 | const response = await client.get('/health') |
6 | 6 | ||
7 | response.assertStatus(200); | 7 | response.assertStatus(200) |
8 | response.assertBodyContains({ | 8 | response.assertBodyContains({ |
9 | api: 'success', | 9 | api: 'success', |
10 | db: 'success', | 10 | db: 'success', |
11 | }); | 11 | }) |
12 | }); | 12 | }) |
13 | }); | 13 | }) |