Tests / @ogygia/tooling

@ogygia/tooling

Version 0.13.1
commit 4b18f465
3 test runs (3 tests, each run in Node, the browsers or both)
0.09× lines of test for each line of source (81 to 946) Only real test code counts: test files and their helpers, not fixtures, sample apps or benches. Blank lines are left out on both sides.
Exactly what is counted non-blank lines of test code across the repo (*.test.ts, *.test-d.ts, *.spec.ts, and the .ts helpers in test/ and e2e/ folders; no fixtures, fixture apps, stubs or benches), over non-blank lines of packages/*/src (no .d.ts or generated files)
16.2% of source lines run by the tests
  • 3Unit
  • 0Browser
  • 0End to end
  • 0Type tests
  • 0Lint rules
  • 0Failing

Coverage

  • 16.2%Lines
  • 13.4%Branches
  • 18.1%Functions
  • 16.5%Statements

Every test

End-to-end suites are not part of this report yet.

3 tests

TestKindNodeChromiumFirefoxWebKit
packages/tooling/test/servers.test.ts
spawn_server > a port someone else keeps holding fails the spawn, naming the portUnitpassnot runnot runnot run
spawn_server > a server that ignores SIGTERM is killed after the grace timeUnitpassnot runnot runnot run
spawn_server > kill() resolves once the server is gone: the port is free right afterUnitpassnot runnot runnot run