From f67d51bccfce6618c81ca323ebec0ba8ff683cc8 Mon Sep 17 00:00:00 2001 From: "Joshua A. Horton" Date: Tue, 19 Jul 2022 10:04:05 +0700 Subject: [PATCH] feat(web): links gesture-recognizer unit test for CI --- web/unit_tests/test.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/unit_tests/test.sh b/web/unit_tests/test.sh index be2076b3be..95f3aa7de5 100755 --- a/web/unit_tests/test.sh +++ b/web/unit_tests/test.sh @@ -131,9 +131,15 @@ cd ../tools/recorder # First: Web-core tests. pushd "$KEYMAN_ROOT/common/web/input-processor" ./test.sh $HEADLESS_FLAGS || fail "Tests failed by dependencies; aborting integration tests." -# Once done, now we run the integrated (KeymanWeb) tests. popd +# For now, we'll also link in the gesture-recognizer unit tests here. +echo_heading "Running gesture-recognizer test suite" +pushd "$KEYMAN_ROOT/common/web/gesture-recognizer" +./build.sh tools test +popd + +# Once done, now we run the integrated (KeymanWeb) tests. echo_heading "Running KeymanWeb integration test suite" npm --no-color run modernizr -- -c unit_tests/modernizr.config.json -d unit_tests/modernizr.js npm --no-color run karma -- start $FLAGS $BROWSERS unit_tests/$CONFIG