aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/health.spec.ts
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2024-02-10 18:37:40 -0700
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2024-02-13 06:59:44 +0530
commite1c47572a6235fd8fd20af888ac3a11c7ae1369d (patch)
tree2dccff36a441916d7014037cef3f7ce84a790cad /tests/functional/health.spec.ts
parentrefactor: project maintenance (diff)
downloadferdium-server-e1c47572a6235fd8fd20af888ac3a11c7ae1369d.tar.gz
ferdium-server-e1c47572a6235fd8fd20af888ac3a11c7ae1369d.tar.zst
ferdium-server-e1c47572a6235fd8fd20af888ac3a11c7ae1369d.zip
updates
Diffstat (limited to 'tests/functional/health.spec.ts')
-rw-r--r--tests/functional/health.spec.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/functional/health.spec.ts b/tests/functional/health.spec.ts
index 50bf46c..2f7e074 100644
--- a/tests/functional/health.spec.ts
+++ b/tests/functional/health.spec.ts
@@ -1,13 +1,13 @@
1import { test } from '@japa/runner' 1import { test } from '@japa/runner';
2 2
3test.group('health page', () => { 3test.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});