nx/scripts/test.sh
2020-02-04 12:14:52 -05:00

8 lines
270 B
Bash
Executable File

#!/usr/bin/env bash
if [ -n "$1" ]; then
jest --maxWorkers=1 ./build/packages/$1.spec.js
else
jest --maxWorkers=1 ./build/packages/{bazel,react,jest,web,node,express,nest,cypress,storybook,angular,workspace,tao,eslint-plugin-nx,next,nx-plugin} --passWithNoTests
fi