Реальный TAP-вывод; локальный путь заменён на coding-review-lab. TAP version 13 # Subtest: empty ok 1 - empty --- duration_ms: 1.6916 type: 'test' ... # Subtest: exact multiple ok 2 - exact multiple --- duration_ms: 0.0788 type: 'test' ... # Subtest: remainder not ok 3 - remainder --- duration_ms: 1.0747 type: 'test' location: 'C:\\Project\\ezgpt.ru\\tmp\\coding-route-20261024\\lab\\pagination.test.mjs:14:3' failureType: 'testCodeFailure' error: |- Expected values to be strictly equal: 2 !== 3 code: 'ERR_ASSERTION' name: 'AssertionError' expected: 3 actual: 2 operator: 'strictEqual' stack: |- TestContext. (file:///coding-review-lab/pagination.test.mjs:14:27) 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: single item not ok 4 - single item --- duration_ms: 0.3305 type: 'test' location: 'C:\\Project\\ezgpt.ru\\tmp\\coding-route-20261024\\lab\\pagination.test.mjs:14:3' failureType: 'testCodeFailure' error: |- Expected values to be strictly equal: 0 !== 1 code: 'ERR_ASSERTION' name: 'AssertionError' expected: 1 actual: 0 operator: 'strictEqual' stack: |- TestContext. (file:///coding-review-lab/pagination.test.mjs:14:27) 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: fewer than a page not ok 5 - fewer than a page --- duration_ms: 0.1292 type: 'test' location: 'C:\\Project\\ezgpt.ru\\tmp\\coding-route-20261024\\lab\\pagination.test.mjs:14:3' failureType: 'testCodeFailure' error: |- Expected values to be strictly equal: 0 !== 1 code: 'ERR_ASSERTION' name: 'AssertionError' expected: 1 actual: 0 operator: 'strictEqual' stack: |- TestContext. (file:///coding-review-lab/pagination.test.mjs:14:27) 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: large safe integer not ok 6 - large safe integer --- duration_ms: 0.1422 type: 'test' location: 'C:\\Project\\ezgpt.ru\\tmp\\coding-route-20261024\\lab\\pagination.test.mjs:14:3' failureType: 'testCodeFailure' error: |- Expected values to be strictly equal: + actual - expected + 4503599627370495 - 4503599627370496 ^ code: 'ERR_ASSERTION' name: 'AssertionError' expected: 4503599627370496 actual: 4503599627370495 operator: 'strictEqual' stack: |- TestContext. (file:///coding-review-lab/pagination.test.mjs:14:27) 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: zero page size not ok 7 - zero page size --- duration_ms: 0.3679 type: 'test' location: 'C:\\Project\\ezgpt.ru\\tmp\\coding-route-20261024\\lab\\pagination.test.mjs:27:3' failureType: 'testCodeFailure' error: 'Missing expected exception (RangeError).' code: 'ERR_ASSERTION' name: 'AssertionError' stack: |- TestContext. (file:///coding-review-lab/pagination.test.mjs:27:27) 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: negative total not ok 8 - negative total --- duration_ms: 0.0728 type: 'test' location: 'C:\\Project\\ezgpt.ru\\tmp\\coding-route-20261024\\lab\\pagination.test.mjs:27:3' failureType: 'testCodeFailure' error: 'Missing expected exception (RangeError).' code: 'ERR_ASSERTION' name: 'AssertionError' stack: |- TestContext. (file:///coding-review-lab/pagination.test.mjs:27:27) 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: fractional total not ok 9 - fractional total --- duration_ms: 0.081 type: 'test' location: 'C:\\Project\\ezgpt.ru\\tmp\\coding-route-20261024\\lab\\pagination.test.mjs:27:3' failureType: 'testCodeFailure' error: 'Missing expected exception (RangeError).' code: 'ERR_ASSERTION' name: 'AssertionError' stack: |- TestContext. (file:///coding-review-lab/pagination.test.mjs:27:27) 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: fractional page size not ok 10 - fractional page size --- duration_ms: 0.1054 type: 'test' location: 'C:\\Project\\ezgpt.ru\\tmp\\coding-route-20261024\\lab\\pagination.test.mjs:27:3' failureType: 'testCodeFailure' error: 'Missing expected exception (RangeError).' code: 'ERR_ASSERTION' name: 'AssertionError' stack: |- TestContext. (file:///coding-review-lab/pagination.test.mjs:27:27) 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: string total not ok 11 - string total --- duration_ms: 0.0681 type: 'test' location: 'C:\\Project\\ezgpt.ru\\tmp\\coding-route-20261024\\lab\\pagination.test.mjs:27:3' failureType: 'testCodeFailure' error: 'Missing expected exception (RangeError).' code: 'ERR_ASSERTION' name: 'AssertionError' stack: |- TestContext. (file:///coding-review-lab/pagination.test.mjs:27:27) 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: boolean total not ok 12 - boolean total --- duration_ms: 0.0583 type: 'test' location: 'C:\\Project\\ezgpt.ru\\tmp\\coding-route-20261024\\lab\\pagination.test.mjs:27:3' failureType: 'testCodeFailure' error: 'Missing expected exception (RangeError).' code: 'ERR_ASSERTION' name: 'AssertionError' stack: |- TestContext. (file:///coding-review-lab/pagination.test.mjs:27:27) 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: unsafe total not ok 13 - unsafe total --- duration_ms: 0.0663 type: 'test' location: 'C:\\Project\\ezgpt.ru\\tmp\\coding-route-20261024\\lab\\pagination.test.mjs:27:3' failureType: 'testCodeFailure' error: 'Missing expected exception (RangeError).' code: 'ERR_ASSERTION' name: 'AssertionError' stack: |- TestContext. (file:///coding-review-lab/pagination.test.mjs:27:27) 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) ... 1..13 # tests 13 # suites 0 # pass 2 # fail 11 # cancelled 0 # skipped 0 # todo 0 # duration_ms 84.2493