diff --git a/.lintstagedrc.js b/.lintstagedrc.js --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -17,6 +17,9 @@ 'lib/**/*.js': function libFlow(files) { return 'yarn workspace lib flow --quiet'; }, + 'lib/**/*.js': function libJest(files) { + return 'yarn workspace lib test'; + }, '{web,lib}/**/*.js': function webFlow(files) { return 'yarn workspace web flow --quiet'; }, @@ -24,6 +27,9 @@ return 'yarn workspace native flow --quiet'; }, '{keyserver,web,lib}/**/*.js': function keyServerFlow(files) { + return 'yarn workspace keyserver test'; + }, + '{keyserver,web,lib}/**/*.js': function keyServerTest(files) { return 'yarn workspace keyserver flow --quiet'; }, '{landing,lib}/**/*.js': function landingFlow(files) {