Skip to content

isPRCommit - Handle new URL format #1035

isPRCommit - Handle new URL format

isPRCommit - Handle new URL format #1035

Triggered via pull request December 16, 2025 14:00
Status Failure
Total duration 35s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Test
Process completed with exit code 1.
index.test.ts > isPRFiles NO https://github.com/sindresorhus/refined-github/pull/148/commits: index.test.ts#L58
AssertionError: Is this URL `isPRFiles`? /sindresorhus/refined-github/pull/148/commits • Yes? Add it to the `addTests()` array. • No? The `isPRFiles` detection is wrong and should be fixed. true !== false - Expected + Received - false + true ❯ index.test.ts:58:12
index.test.ts > isPRCommit NO https://github.com/sindresorhus/refined-github/pull/148/commits: index.test.ts#L58
AssertionError: Is this URL `isPRCommit`? /sindresorhus/refined-github/pull/148/commits • Yes? Add it to the `addTests()` array. • No? The `isPRCommit` detection is wrong and should be fixed. true !== false - Expected + Received - false + true ❯ index.test.ts:58:12
index.test.ts > isCommit NO https://github.com/sindresorhus/refined-github/pull/148/commits: index.test.ts#L58
AssertionError: Is this URL `isCommit`? /sindresorhus/refined-github/pull/148/commits • Yes? Add it to the `addTests()` array. • No? The `isCommit` detection is wrong and should be fixed. true !== false - Expected + Received - false + true ❯ index.test.ts:58:12