Remove test tmp folder before each new test run (#17263)
This commit is contained in:
parent
f12c7401d1
commit
baf3fb9bbd
2
Makefile
2
Makefile
|
@ -360,6 +360,7 @@ component-test-watch: export TARGET := clojure
|
||||||
component-test-watch: export COMPONENT_TEST := true
|
component-test-watch: export COMPONENT_TEST := true
|
||||||
component-test-watch: export BABEL_ENV := test
|
component-test-watch: export BABEL_ENV := test
|
||||||
component-test-watch: ##@ Watch tests and re-run no changes to cljs files
|
component-test-watch: ##@ Watch tests and re-run no changes to cljs files
|
||||||
|
rm -rf ./component-spec
|
||||||
yarn install
|
yarn install
|
||||||
nodemon --exec 'yarn shadow-cljs compile component-test && jest --config=test/jest/jest.config.js' -e cljs
|
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 COMPONENT_TEST := true
|
||||||
component-test: export BABEL_ENV := test
|
component-test: export BABEL_ENV := test
|
||||||
component-test: ##@test Run component tests once in NodeJS
|
component-test: ##@test Run component tests once in NodeJS
|
||||||
|
rm -rf ./component-spec
|
||||||
yarn install
|
yarn install
|
||||||
yarn shadow-cljs compile component-test && \
|
yarn shadow-cljs compile component-test && \
|
||||||
jest --config=test/jest/jest.config.js
|
jest --config=test/jest/jest.config.js
|
||||||
|
|
Loading…
Reference in New Issue