From 2b0a5231170049bc4fd7f44009c9f32b1404d5a5 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 16 Feb 2024 09:04:25 -0400 Subject: data, yaml: move two functions into new #data-checks import Due to import time shenanigans, these are provided bindFind and getAllFindSpecs externally. Sorry!! --- data-tests/index.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data-tests') 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, }), -- cgit 1.3.0-6-gf8a5