isPRCommit - Handle new URL format
#1035
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
|