From d3a016dd645ba828ec375428faa733e0203d278e Mon Sep 17 00:00:00 2001 From: chahat sagar <109112505+chahatsagarmain@users.noreply.github.com> Date: Mon, 3 Feb 2025 04:03:34 +0530 Subject: [PATCH] chore(frontend) : Fix frontend failing ci test (#11575) Signed-off-by: chahatsagarmain --- frontend/src/pages/GettingStarted.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/GettingStarted.test.tsx b/frontend/src/pages/GettingStarted.test.tsx index 58d4622e0e1..3d73fcbe5c2 100644 --- a/frontend/src/pages/GettingStarted.test.tsx +++ b/frontend/src/pages/GettingStarted.test.tsx @@ -28,7 +28,7 @@ describe(`${PATH_FRONTEND_CONFIG}`, () => { it(`should be in sync with ${PATH_BACKEND_CONFIG}, if not please run "npm run sync-backend-sample-config" to update.`, () => { const configBackend = require(PATH_BACKEND_CONFIG); const configFrontend = require(PATH_FRONTEND_CONFIG); - expect(configFrontend).toEqual(configBackend.map((sample: any) => sample.name)); + expect(configFrontend).toEqual(configBackend.pipelines.map((sample: any) => sample.name)); }); });