« get me outta code hell

data, yaml: move two functions into new #data-checks import - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/data-tests
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-02-16 09:04:25 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-02-16 10:28:02 -0400
commit2b0a5231170049bc4fd7f44009c9f32b1404d5a5 (patch)
tree04bc194adc000d5b793f384bf3aee953972f2f4c /data-tests
parent6f8082142544548303681109d7d30073a0ae069a (diff)
data, yaml: move two functions into new #data-checks import
Due to import time shenanigans, these are provided bindFind and
getAllFindSpecs externally. Sorry!!
Diffstat (limited to 'data-tests')
-rw-r--r--data-tests/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/data-tests/index.js b/data-tests/index.js
index d0770907..3901db07 100644
--- a/data-tests/index.js
+++ b/data-tests/index.js
@@ -4,6 +4,7 @@ import {fileURLToPath} from 'node:url';
 import chokidar from 'chokidar';
 
 import {colors, logError, logInfo, logWarn, parseOptions} from '#cli';
+import {bindFind, getAllFindSpecs} from '#find';
 import {isMain} from '#node-utils';
 import {getContextAssignments} from '#repl';
 import {bindOpts, showAggregate} from '#sugar';
@@ -32,6 +33,9 @@ async function main() {
   const watcher = chokidar.watch(metaDirname);
 
   const wikiData = await quickLoadAllFromYAML(dataPath, {
+    bindFind,
+    getAllFindSpecs,
+
     showAggregate: bindOpts(showAggregate, {
       showTraces: false,
     }),