Closed minasmart closed 8 years ago
@mikkoh @jamesmacaulay @tessalt take a look!
Also @mikkoh, suggesting we put this in the module generator too, since we're always workin' with circle.
so when you're developing locally do you set CIRCLE_TEST_DIR
? because these will fail locally right?
Test output shows up in test summary like:
Artifacts are visible like this:
@tessalt nope. It searches for the $CI
var, and if that's not set, none of the special reporter or output options are set. Since you wouldn't normally have $CI
on a dev machine, it should run fine locally, and only do the special thing in CI.
ahh cool i should add this to my similar tasks
This adds some logic to package.json where if we see that we're running in CI, output tests in a format CI actually understands, for a much nicer test display