A React NPM JEST Unit test engine for Arcanist and Phabricator
A unit test engine for npm jest via react-scripts and providing results to phabricator via arcanist
This engine supports tests run by npm jest through react-scripts.
This requires npm
and react-scripts
and arcanist
to be installed locally
- Clone this repo somewhere in your path
- In the repo you want to run unit tests from, edit the
.arcconfig
file with settings like the following
{
...
"unit.engine": "NpmTestJestUnitTestEngine",
"load": [
....
"npmtestjestunittestengine/src"
]
}
- In your
package.json
be sure your scripts test is set like this
"test": "CI=true react-scripts test",
A note on these settings
"unit.engine": "NpmTestJestUnitTestEngine"
this is the name of the engine"load": [ .... "npmtestjestunittestengine/src" ]
- If this does not work, specify the full path e.g./usr/local/src/npmtestjestunittestengine/src
All source code is licensed under the Apache 2.0 license, the same license as for the Arcanist project.
Lucit is the company behind Layout : The application that connects big-ticket inventory applications (Automotive, Ag, Rec, Real Estate) to digital billboards, in real-time.
We stream inventory - direct, in real-time to digital billboards, anywhere. https://lucit.cc