nx/scripts/test.sh
2020-01-21 15:18:13 -05:00

8 lines
290 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/{schematics,bazel,builders,react,jest,web,node,express,nest,cypress,storybook,angular,workspace,tao,eslint-plugin-nx,next,nx-plugin} --passWithNoTests
fi