✔ REQ-PLUG-1 REQ-LIMIT-4 the registry: usage-source and limit-check at interface version 1, each a list (0.996001ms) ✔ REQ-PLUG-1 checkPlugins accepts one key per kind, each a list of names, empty included (0.182864ms) ✖ REQ-PLUG-1 checkPlugins refuses bad shapes, unknown kinds, bad names and duplicates (4.001549ms) ✖ REQ-PLUG-1 a kind that switches on one module takes one name, not a list (0.199326ms) ✔ REQ-PLUG-1 checkPlugins reports through the caller's fail callback (0.151957ms) ✔ REQ-PLUG-1 fixture modules of each kind switch on from a test organization file, no core file changed (7.403267ms) ✖ REQ-PLUG-1 a name not matching ^[a-z][a-z0-9-]*$ refuses and keeps the old setting (3.164675ms) ✔ REQ-PLUG-1 a missing module directory or index.mjs refuses and keeps the old setting (2.964415ms) ✔ REQ-PLUG-1 a symlinked module directory or index.mjs refuses and keeps the old setting (2.879038ms) ✔ REQ-PLUG-1 a symlinked kind directory refuses and keeps the old setting (2.089231ms) ✔ REQ-PLUG-1 a symlinked packages/plugins refuses (run with --preserve-symlinks so the path keeps it) (27.743931ms) ✔ REQ-PLUG-1 index.mjs swapped for a symlink after the lstat checks refuses at the realpath check (2.73052ms) ✔ REQ-PLUG-1 a path that can't be read refuses as unreadable, is logged and keeps the old setting (2.250644ms) ✔ REQ-PLUG-1 a path that becomes unreadable after the lstat checks refuses at either realpath (2.482361ms) ✔ REQ-PLUG-1 a module that fails to load refuses and keeps the old setting (2.991154ms) ✔ REQ-PLUG-1 a missing export refuses and keeps the old setting (3.185904ms) ✔ REQ-PLUG-1 a different interface version refuses and keeps the old setting (2.332246ms) ✔ REQ-PLUG-1 a kind refused on its first load has nothing switched on, and the log names kind and name (1.668266ms) ✔ REQ-PLUG-1 the setting's shape: unknown kinds refuse alone, a bad whole setting keeps everything (2.689325ms) ✔ REQ-PLUG-1 loads run one at a time, so the last requested setting wins (102.247682ms) ✔ REQ-PLUG-1 the loader needs a log callback (0.939442ms) ℹ tests 21 ℹ suites 0 ℹ pass 18 ℹ fail 3 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 220.340526 ✖ failing tests: test at packages/plugins/tests/kinds.test.mjs:24:1 ✖ REQ-PLUG-1 checkPlugins refuses bad shapes, unknown kinds, bad names and duplicates (4.001549ms) AssertionError [ERR_ASSERTION]: Missing expected exception: Meter at TestContext. (file:///home/jwoltje/dewey-scratch/r131/wt/packages/plugins/tests/kinds.test.mjs:30:12) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1402:25) at Test.processPendingSubtests (node:internal/test_runner/test:974:18) at Test.postRun (node:internal/test_runner/test:1542:19) at Test.run (node:internal/test_runner/test:1467:12) at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, operator: 'throws', diff: 'simple' } test at packages/plugins/tests/kinds.test.mjs:35:1 ✖ REQ-PLUG-1 a kind that switches on one module takes one name, not a list (0.199326ms) AssertionError [ERR_ASSERTION]: Missing expected exception. at TestContext. (file:///home/jwoltje/dewey-scratch/r131/wt/packages/plugins/tests/kinds.test.mjs:39:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1402:25) at Test.processPendingSubtests (node:internal/test_runner/test:974:18) at Test.postRun (node:internal/test_runner/test:1542:19) at Test.run (node:internal/test_runner/test:1467:12) at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, operator: 'throws', diff: 'simple' } test at packages/plugins/tests/loader.test.mjs:64:1 ✖ REQ-PLUG-1 a name not matching ^[a-z][a-z0-9-]*$ refuses and keeps the old setting (3.164675ms) AssertionError [ERR_ASSERTION]: Meter: /home/jwoltje/dewey-scratch/tmp/mosaic-plugins-O1VMSX/packages/plugins/usage-source/Meter is missing + actual - expected + 'missing' - 'bad-name' at refusesKeepingOld (file:///home/jwoltje/dewey-scratch/r131/wt/packages/plugins/tests/loader.test.mjs:35:10) at async TestContext. (file:///home/jwoltje/dewey-scratch/r131/wt/packages/plugins/tests/loader.test.mjs:67:5) at async Test.run (node:internal/test_runner/test:1409:7) at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 'missing', expected: 'bad-name', operator: 'strictEqual', diff: 'simple' }