OpenVibe.Shared releases

Release 1.25.0

28 Sep 2026 · pinned package [email protected]

1.25.0

openvibe-shared/test-runner: no fake green in npm test (roadmap WS-Q task 7). Every service carried its own copy of test/run.js, and each counted a test file that exited 0 as passed, including one that printed …: skipped (no ffmpeg) and checked nothing. The runner is now one module: require('openvibe-shared/test-runner').main({ dir: __dirname, timeoutMs, pad, hide, env }) (run() returns the results for a caller that wants them).

  • Same behaviour as the copies: every *.test.js in dir in its own process, a few at a time, NODE_ENV=test, a timeout per file, name filters from the arguments, and the last 40 lines of a failed file (minus hide lines).
  • Skips. A test prints <label>: skipped (<why>) for each thing it could not run (the convention OpenVibe.Host's acceptance runner already reads). Such a file is listed with ○ and its reasons, and is not counted as passed: the summary reads 148/150 test files passed, 2 skipped (…), and only a run with nothing skipped says N/N test files passed. Skips alone exit 0; --strict (or OV_TEST_STRICT=1) makes them fail the run.
  • This package's test/run.js uses it; test/test-runner.test.js covers pass, skip, partial skip, failure, hidden lines, filters and strict.

All releases