aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-06-15 13:07:13 -0300
committerSebastian <sebasjm@gmail.com>2023-06-15 13:07:13 -0300
commitf7058a86c9f9c6a727c58be80dbc0e2b3f7218f8 (patch)
tree83d3069fe3beac752e41db915fea454bf4c2e93e
parent08746f5bf0943bcb9134d5f90487f1b83aa1a115 (diff)
watch test
-rw-r--r--packages/taler-wallet-core/package.json1
-rwxr-xr-xpackages/taler-wallet-core/watch_test.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/package.json b/packages/taler-wallet-core/package.json
index b32f797d0..ee1c63996 100644
--- a/packages/taler-wallet-core/package.json
+++ b/packages/taler-wallet-core/package.json
@@ -78,6 +78,7 @@
"tslib": "^2.5.3"
},
"ava": {
+ "ignoredByWatcher": ["src/**/*"],
"files": [
"lib/**/*test.*"
]
diff --git a/packages/taler-wallet-core/watch_test.sh b/packages/taler-wallet-core/watch_test.sh
new file mode 100755
index 000000000..124e18e21
--- /dev/null
+++ b/packages/taler-wallet-core/watch_test.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+./node_modules/typescript/bin/tsc --watch &
+./node_modules/ava/entrypoints/cli.mjs -w "$@"