feat(core): Upgrade to express 5 to address CVE-2024-52798 (#14332)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-04-03 13:43:52 +02:00
committed by GitHub
parent 02d11b5e7a
commit 4110f3188e
22 changed files with 465 additions and 327 deletions

View File

@@ -177,7 +177,7 @@ describe('POST /variables', () => {
expect(byKey).toBeNull();
});
test("POST /variables should not create a new variable and return it if the instance doesn't have a license", async () => {
test("should not create a new variable and return it if the instance doesn't have a license", async () => {
license.disable('feat:variables');
const response = await authOwnerAgent.post('/variables').send(toCreate);
expect(response.statusCode).toBe(403);