From 5ca45e02b41313a793cd7d4b3bdd8d8e0ff6e41c Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Wed, 17 Jan 2024 18:53:31 -0300 Subject: [PATCH] Add frontend tests to Makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 66b7afb06..7f0f998ae 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,13 @@ run_frontend: @-kill -9 `lsof -t -i:3000` cd src/frontend && npm start +tests_frontend: +ifeq ($(UI), true) + cd src/frontend && ./run-tests.sh --ui +else + cd src/frontend && ./run-tests.sh +endif + run_cli: poetry run langflow run --path src/frontend/build