From eb6fba29b7183a7ab5ca11bfc5878ef1db34e09d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Gierwia=C5=82o?= Date: Sat, 6 Dec 2025 13:49:50 +0100 Subject: [PATCH] fix(tests): update app.test.js to expect test environment --- backend/src/__tests__/app.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/__tests__/app.test.js b/backend/src/__tests__/app.test.js index 42a5847..c6a784d 100644 --- a/backend/src/__tests__/app.test.js +++ b/backend/src/__tests__/app.test.js @@ -25,12 +25,12 @@ describe('Backend API Tests', () => { expect(timestamp.getTime()).not.toBeNaN(); }); - it('should return development environment in test mode', async () => { + it('should return test environment in test mode', async () => { const response = await request(app) .get('/api/health') .expect(200); - expect(response.body.environment).toBe('development'); + expect(response.body.environment).toBe('test'); }); });