You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2018/10/15 02:30:55 UTC

[incubator-annotator] 02/02: Add top-level tests in .eslintrc.yml

This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch validation-test-tweaks
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit 534bdaef62268f0fe6363a1e7bf47d275a6d7432
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sun Oct 14 17:59:14 2018 -0700

    Add top-level tests in .eslintrc.yml
---
 .eslintrc.yml       | 1 +
 test/data-model.mjs | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.eslintrc.yml b/.eslintrc.yml
index 8e29e76..f3c0a88 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -65,6 +65,7 @@ overrides:
       browser: true
   - files:
       - 'packages/*/test/**/*.mjs'
+      - 'test/**/*.mjs'
     env:
       mocha: true
     globals:
diff --git a/test/data-model.mjs b/test/data-model.mjs
index 16e4bed..8648e5b 100644
--- a/test/data-model.mjs
+++ b/test/data-model.mjs
@@ -13,7 +13,7 @@
  * the License.
  */
 
-/* global process, describe, before, it, assert */
+/* global process */
 
 import fs from 'fs';
 import URL from 'url';