https://pantsbuild.org/ logo
#general
Title
# general
w

worried-flower-52243

09/03/2019, 5:48 PM
Hi, wondering if anyone has any experience running javascript test frameworks (jest in my case) through pants?
👋 1
g

gentle-wolf-58752

09/03/2019, 5:54 PM
I’ve set this up before, I thought there was something in the node examples as well in pants but looks like we don’t have one (yet)
Are you having issues and / or questions on getting it set up?
w

worried-flower-52243

09/03/2019, 5:59 PM
Ya, one of our web teams recently added some jest tests and I am deciding the best way to run them in our PR pipeline. Currently we run all of our Scala and Python tests through pants, and was hoping for a similar solution/pattern for jest. After looking through the docs though I didn't see anything similar to python_tests or junit_tests so figured I would ask here.
g

gentle-wolf-58752

09/03/2019, 6:01 PM
Got it,
node_test
might be just what you’re looking for (that’s what we’re using) https://www.pantsbuild.org/node_readme.html
w

worried-flower-52243

09/03/2019, 6:09 PM
Amazing, thanks!!
👍 1
a

aloof-angle-91616

09/03/2019, 6:40 PM
please let us know if you experience issues or have any feature requests! i love love love js and haven't had enough excuses to work on it in pants