From cea403be40317c866a692b55aba851cfd86b57b1 Mon Sep 17 00:00:00 2001 From: Jb Landry Date: Wed, 5 Feb 2020 13:48:34 -0500 Subject: [PATCH] Corrections for tests --- .travis.yml | 1 + test/index.js | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d6b81871..654541e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ language: node_js node_js: - node + - 12 diff --git a/test/index.js b/test/index.js index 61fef681..167c0962 100644 --- a/test/index.js +++ b/test/index.js @@ -6,6 +6,12 @@ const tester = require('@absolunet/tester'); +const JS_MULTI = [ + `*.js`, + `ressources/docs-builder/**/*.js`, + `test/**/*.js` +]; + const EXCLUDE_MULTI = [ `!docs/static/**`, `!packages/**`, @@ -20,12 +26,13 @@ const EXCLUDE_SUB = [ `!boilerplate/components/**/scripts/vendor/**`, `!boilerplate/components/**/styles/vendor/**`, `!boilerplate/node_modules/**`, + `!boilerplate/node_modules/@absolunet/nwayo-workflow/**`, `!boilerplate/vendor/node_modules/**` ]; tester.npmPackage.validateMulti({ - js: tester.all.js.concat(EXCLUDE_MULTI), + js: JS_MULTI.concat(EXCLUDE_MULTI), json: tester.all.json.concat(EXCLUDE_MULTI), yaml: tester.all.yaml.concat(EXCLUDE_MULTI), bash: tester.all.bash.concat(EXCLUDE_MULTI),