Skip to content

Instantly share code, notes, and snippets.

@izifortune
Last active January 18, 2018 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save izifortune/948cb42292319c9ffa9ca66e838b4c76 to your computer and use it in GitHub Desktop.
Save izifortune/948cb42292319c9ffa9ca66e838b4c76 to your computer and use it in GitHub Desktop.
Nrwl libs test
const { getAffectedLibs, pexec } = require('./utils');
const libs = getAffectedLibs();
(async () => {
try {
await pexec(`node ./node_modules/.bin/jest ${libs.join(' ')}`)
} catch (e) {
console.error(e);
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment