feat(01-02): export and serve validated local media pairs
This commit is contained in:
1 parent
488c904807
commit
49f874e64c
6 files changed
+465
-3
No files matched your search
@@ -1,7 +1,8 @@
|
||||
import test from 'node:test';
|
||||
import nodeTest from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import {pathToFileURL} from 'node:url';
|
||||
import {existsSync} from 'node:fs';
|
||||
let declared = 0;
|
||||
function test(name, action) { declared++; return nodeTest(name, action); }
|
||||
|
||||
const modulePath = new URL('../tools/recon/fidelity_viewer/viewer.mjs', import.meta.url);
|
||||
const api = existsSync(modulePath) ? await import(modulePath) : {};
|
||||
@@ -54,5 +55,5 @@ test('capability navigation is supplied through a renderer', () => {
|
||||
assert.equal(typeof api.renderCapabilities, 'function');
|
||||
});
|
||||
test('suite executes a positive declared count', () => {
|
||||
assert.ok(6 > 0);
|
||||
assert.ok(declared >= 6, 'runner must register a positive number of behavior tests');
|
||||
});
|
||||
Reference in new issue
Block a user