isPRFiles - Handle new URL format
#1042
Annotations
3 errors
|
Test
Process completed with exit code 1.
|
|
index.test.ts > isPRCommit NO https://github.com/refined-github/refined-github/pull/148/changes/e1aba6f:
index.test.ts#L58
AssertionError:
Is this URL `isPRCommit`?
/refined-github/refined-github/pull/148/changes/e1aba6f
• 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/refined-github/refined-github/pull/148/changes/e1aba6f:
index.test.ts#L58
AssertionError:
Is this URL `isCommit`?
/refined-github/refined-github/pull/148/changes/e1aba6f
• 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
|