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 2021/04/18 21:49:23 UTC
[incubator-annotator] 01/02: Add watch files to mocha configuration
This is an automated email from the ASF dual-hosted git repository.
randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git
commit 0fc90d3e9563da4fafcc1ca9d150e9c6753a9f7c
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sun Apr 18 14:48:02 2021 -0700
Add watch files to mocha configuration
---
.mocharc.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.mocharc.js b/.mocharc.js
index a94384f..92e13b0 100644
--- a/.mocharc.js
+++ b/.mocharc.js
@@ -23,4 +23,9 @@ module.exports = {
ignore: ['node_modules'],
require: ['./babel-register.js', 'global-jsdom/register'],
timeout: 5000,
+ watchFiles: [
+ './test/**/*.ts',
+ './packages/*/src/**/*.ts',
+ './packages/*/test/**/*.ts',
+ ],
};