Automatischer Commit: Aktualisierung von package.json und package-lock.json sowie neue Test-Dateien
This commit is contained in:
parent
af556cd7e9
commit
184f281836
5 changed files with 106 additions and 1 deletions
6
backend/scripts/integration-test.mjs
Normal file
6
backend/scripts/integration-test.mjs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { test, expect } from '@playwright/test';
|
||||
|
||||
test('API server starts and returns 200', async ({ page }) => {
|
||||
await page.goto('http://localhost:3000/api/health');
|
||||
await expect(page.status()).toBe(200);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue