✔ REQ-PLUG-1 fixture modules of each kind switch on from a test organization file, no core file changed (6.844388ms) ✔ REQ-PLUG-1 a name not matching ^[a-z][a-z0-9-]*$ refuses and keeps the old setting (3.22488ms) ✔ REQ-PLUG-1 a missing module directory or index.mjs refuses and keeps the old setting (3.207108ms) ✔ REQ-PLUG-1 a symlinked module directory or index.mjs refuses and keeps the old setting (2.403113ms) ✔ REQ-PLUG-1 a symlinked kind directory refuses and keeps the old setting (1.954469ms) ✔ REQ-PLUG-1 a symlinked packages/plugins refuses (run with --preserve-symlinks so the path keeps it) (25.825422ms) ✔ REQ-PLUG-1 index.mjs swapped for a symlink after the lstat checks refuses at the realpath check (2.6038ms) ✔ REQ-PLUG-1 a module that fails to load refuses and keeps the old setting (2.753518ms) ✖ REQ-PLUG-1 a missing export refuses and keeps the old setting (4.45008ms) ✔ REQ-PLUG-1 a different interface version refuses and keeps the old setting (2.463883ms) ✔ REQ-PLUG-1 a kind refused on its first load has nothing switched on, and the log names kind and name (1.757319ms) ✔ REQ-PLUG-1 the setting's shape: unknown kinds refuse alone, a bad whole setting keeps everything (2.496356ms) ✔ REQ-PLUG-1 loads run one at a time, so the last requested setting wins (102.668213ms) ✔ REQ-PLUG-1 the loader needs a log callback (1.054778ms) ℹ tests 14 ℹ suites 0 ℹ pass 13 ℹ fail 1 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 210.457666 ✖ failing tests: test at packages/plugins/tests/loader.test.mjs:142:1 ✖ REQ-PLUG-1 a missing export refuses and keeps the old setting (4.45008ms) AssertionError [ERR_ASSERTION]: not-fn: old setting kept + actual - expected { 'limit-check': [ 'cap' ], 'usage-source': [ + 'not-fn' - 'meter' ] } at refusesKeepingOld (file:///home/jwoltje/dewey-scratch/r131/wt/packages/plugins/tests/loader.test.mjs:32:10) at async TestContext. (file:///home/jwoltje/dewey-scratch/r131/wt/packages/plugins/tests/loader.test.mjs:149:3) 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: { 'usage-source': [ 'not-fn' ], 'limit-check': [ 'cap' ] }, expected: { 'usage-source': [ 'meter' ], 'limit-check': [ 'cap' ] }, operator: 'deepStrictEqual', diff: 'simple' }