Skip to content

isPRCommit - Handle new URL format #1036

isPRCommit - Handle new URL format

isPRCommit - Handle new URL format #1036

Triggered via pull request December 16, 2025 14:06
@SunsetTechuilaSunsetTechuila
synchronize #212
main
Status Failure
Total duration 22s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 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
Lint
Process completed with exit code 1.
Lint: index.ts#L257
Comments should not begin with a lowercase character.