TAP version 13
# Subtest: counts completed records inside the interval
ok 1 - counts completed records inside the interval
  ---
  duration_ms: 1.7456
  type: 'test'
  ...
# Subtest: includes the exact start instant
ok 2 - includes the exact start instant
  ---
  duration_ms: 0.1489
  type: 'test'
  ...
# Subtest: excludes the exact end instant
not ok 3 - excludes the exact end instant
  ---
  duration_ms: 1.2982
  type: 'test'
  location: 'report.test.cjs:23:1'
  failureType: 'testCodeFailure'
  error: |-
    Expected values to be strictly deep-equal:
    + actual - expected
    
      {
    +   completedCount: 1,
    +   completedIds: [
    +     'at-end'
    +   ]
    -   completedCount: 0,
    -   completedIds: []
      }
    
  code: 'ERR_ASSERTION'
  name: 'AssertionError'
  expected:
    completedCount: 0
    completedIds:
  actual:
    completedCount: 1
    completedIds:
      0: 'at-end'
  operator: 'deepStrictEqual'
  stack: |-
    TestContext.<anonymous> (report.test.cjs:24:10)
    Test.runInAsyncScope (node:async_hooks:227:14)
    Test.run (node:internal/test_runner/test:1382:25)
    Test.processPendingSubtests (node:internal/test_runner/test:960:18)
    Test.postRun (node:internal/test_runner/test:1522:19)
    Test.run (node:internal/test_runner/test:1447:12)
    async Test.processPendingSubtests (node:internal/test_runner/test:960:7)
  ...
# Subtest: excludes the instant before the start
ok 4 - excludes the instant before the start
  ---
  duration_ms: 0.172
  type: 'test'
  ...
# Subtest: excludes an instant after the end
ok 5 - excludes an instant after the end
  ---
  duration_ms: 0.1339
  type: 'test'
  ...
# Subtest: does not count a canceled record
ok 6 - does not count a canceled record
  ---
  duration_ms: 0.1542
  type: 'test'
  ...
# Subtest: returns an empty summary for empty input
ok 7 - returns an empty summary for empty input
  ---
  duration_ms: 0.1359
  type: 'test'
  ...
# Subtest: leaves the input unchanged
ok 8 - leaves the input unchanged
  ---
  duration_ms: 0.1657
  type: 'test'
  ...
1..8
# tests 8
# suites 0
# pass 7
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 95.4825
