From abd116afc13f5e8e22a935097609b45901b521f4 Mon Sep 17 00:00:00 2001 From: Alex Tumanov Date: Tue, 26 Sep 2023 12:49:24 +0100 Subject: [PATCH] Remove test tmp folder before each new test run (#17263) --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index aaf02a9cf2fd..ba688514a2f3 100644 --- a/Makefile +++ b/Makefile @@ -360,6 +360,7 @@ component-test-watch: export TARGET := clojure component-test-watch: export COMPONENT_TEST := true component-test-watch: export BABEL_ENV := test component-test-watch: ##@ Watch tests and re-run no changes to cljs files + rm -rf ./component-spec yarn install nodemon --exec 'yarn shadow-cljs compile component-test && jest --config=test/jest/jest.config.js' -e cljs @@ -367,6 +368,7 @@ component-test: export TARGET := clojure component-test: export COMPONENT_TEST := true component-test: export BABEL_ENV := test component-test: ##@test Run component tests once in NodeJS + rm -rf ./component-spec yarn install yarn shadow-cljs compile component-test && \ jest --config=test/jest/jest.config.js