Better table upper decorations #205
browser-extension.yml
on: pull_request
lint-test-and-build
31s
Annotations
9 errors
lint-test-and-build
Process completed with exit code 1.
|
tests/lib/enhancers/gh-ui.test.ts > github ui > gh_pr_new:should render correct UI elements:
tests/lib/enhancers/gh-ui.test.ts#L15
Error: Snapshot `github ui > gh_pr_new:should render correct UI elements 1` mismatched
- Expected
+ Received
[
{
"for": "id=pull_request_body name=pull_request[body] className=js-comment-field js-paste-markdown js-task-list-field js-quick-submit FormControl-textarea CommentBox-input js-size-to-fit size-to-fit js-session-resumable js-saved-reply-shortcut-comment-field CommentBox-input--large overtype-input",
"title": "Update README.md",
"upperDecoration": <React.Fragment>
- <span>
+ <span
- New PR
+ className="flex h-4 w-4 flex-shrink-0 items-center justify-center"
+ >
+ <FeedPullRequestOpenIcon
+ size={16}
+ />
</span>
- <span
+ <span>
- className="font-mono text-muted-foreground text-sm"
- >
-
+ New |
+
+ <a
+ className="truncate hover:underline"
+ href="https://github.com/diffplug/selfie"
+ >
- diffplug/selfie
+ diffplug/selfie
-
+ </a>
</span>
</React.Fragment>,
},
]
❯ tests/lib/enhancers/gh-ui.test.ts:15:25
❯ tests/corpus-fixture.ts:52:24
|
tests/lib/enhancers/gh-ui.test.ts > github ui > gh_pr_edit_multiple:should render correct UI elements:
tests/lib/enhancers/gh-ui.test.ts#L15
Error: Snapshot `github ui > gh_pr_edit_multiple:should render correct UI elements 1` mismatched
- Expected
+ Received
@@ -17,18 +17,26 @@
"for": "id=new_comment_field name=comment[body] className=js-comment-field js-paste-markdown js-task-list-field js-quick-submit FormControl-textarea CommentBox-input js-size-to-fit size-to-fit js-session-resumable js-saved-reply-shortcut-comment-field overtype-input",
"title": "Update README.md
#5",
"upperDecoration": <React.Fragment>
<span
- className="font-mono text-muted-foreground text-sm"
- >
- diffplug/testing-deletable
+ className="flex h-4 w-4 flex-shrink-0 items-center justify-center"
+ >
+ <FeedPullRequestOpenIcon
+ size={16}
+ />
</span>
- <span
- className="ml-2 font-medium"
+ <span>
+ #
+ 5
+ |
+
+ <a
+ className="truncate hover:underline"
+ href="https://github.com/diffplug/testing-deletable"
- >
+ >
- PR #
+ diffplug/testing-deletable
- 5
+ </a>
</span>
</React.Fragment>,
},
]
❯ tests/lib/enhancers/gh-ui.test.ts:15:25
❯ tests/corpus-fixture.ts:52:24
|
tests/lib/enhancers/gh-ui.test.ts > github ui > gh_pr_edit:should render correct UI elements:
tests/lib/enhancers/gh-ui.test.ts#L15
Error: Snapshot `github ui > gh_pr_edit:should render correct UI elements 1` mismatched
- Expected
+ Received
@@ -11,18 +11,26 @@
"title": "Feat/expand corpus
#58",
"upperDecoration": <React.Fragment>
<span
- className="font-mono text-muted-foreground text-sm"
- >
- diffplug/gitcasso
- </span>
- <span
- className="ml-2 font-medium"
+ className="flex h-4 w-4 flex-shrink-0 items-center justify-center"
+ >
+ <FeedPullRequestOpenIcon
+ size={16}
+ />
+ </span>
+ <span>
+ #
+ 58
+ |
+
+ <a
+ className="truncate hover:underline"
+ href="https://github.com/diffplug/gitcasso"
- >
+ >
- PR #
+ diffplug/gitcasso
- 58
+ </a>
</span>
</React.Fragment>,
},
]
❯ tests/lib/enhancers/gh-ui.test.ts:15:25
❯ tests/corpus-fixture.ts:52:24
|
tests/lib/enhancers/gh-ui.test.ts > github ui > gh_pr:should render correct UI elements:
tests/lib/enhancers/gh-ui.test.ts#L15
Error: Snapshot `github ui > gh_pr:should render correct UI elements 1` mismatched
- Expected
+ Received
@@ -3,18 +3,26 @@
"for": "id=new_comment_field name=comment[body] className=js-comment-field js-paste-markdown js-task-list-field js-quick-submit FormControl-textarea CommentBox-input js-size-to-fit size-to-fit js-session-resumable js-saved-reply-shortcut-comment-field overtype-input",
"title": "Add "VCR" functionality
#517",
"upperDecoration": <React.Fragment>
<span
- className="font-mono text-muted-foreground text-sm"
- >
- diffplug/selfie
- </span>
- <span
- className="ml-2 font-medium"
- >
- PR #
+ className="flex h-4 w-4 flex-shrink-0 items-center justify-center"
+ >
+ <FeedPullRequestOpenIcon
+ size={16}
+ />
+ </span>
+ <span>
+ #
+ 517
+ |
+
+ <a
+ className="truncate hover:underline"
+ href="https://github.com/diffplug/selfie"
+ >
+ diffplug/selfie
- 517
+ </a>
</span>
</React.Fragment>,
},
]
❯ tests/lib/enhancers/gh-ui.test.ts:15:25
❯ tests/corpus-fixture.ts:52:24
|
tests/lib/enhancers/gh-ui.test.ts > github ui > gh_issue_new:should render correct UI elements:
tests/lib/enhancers/gh-ui.test.ts#L15
Error: Snapshot `github ui > gh_issue_new:should render correct UI elements 1` mismatched
- Expected
+ Received
[
{
"for": "id=:r34: name=null className=prc-Textarea-TextArea-13q4j focus-visible overtype-input",
"title": "New issue title",
"upperDecoration": <React.Fragment>
- <span>
+ <span
- New Issue
- </span>
- <span
- className="font-mono text-muted-foreground text-sm"
+ className="flex h-4 w-4 flex-shrink-0 items-center justify-center"
+ >
+ <IssueOpenedIcon
+ size={16}
+ />
+ </span>
+ <span>
+ New |
+
+ <a
+ className="truncate hover:underline"
- >
+ href="https://github.com/diffplug/gitcasso"
-
- diffplug/gitcasso
+ >
+ diffplug/gitcasso
-
+ </a>
</span>
</React.Fragment>,
},
]
❯ tests/lib/enhancers/gh-ui.test.ts:15:25
❯ tests/corpus-fixture.ts:52:24
|
tests/lib/enhancers/gh-ui.test.ts > github ui > gh_issue_edit_multiple:should render correct UI elements:
tests/lib/enhancers/gh-ui.test.ts#L15
Error: Snapshot `github ui > gh_issue_edit_multiple:should render correct UI elements 1` mismatched
- Expected
+ Received
@@ -22,16 +22,20 @@
>
<IssueOpenedIcon
size={16}
/>
</span>
- #
- 3
- <a
+ <span>
+ #
+ 3
+ |
+
+ <a
- className="truncate hover:underline"
+ className="truncate hover:underline"
- href="https://github.com/diffplug/testing-deletable"
+ href="https://github.com/diffplug/testing-deletable"
- >
- diffplug/testing-deletable
+ >
+ diffplug/testing-deletable
- </a>
+ </a>
+ </span>
</React.Fragment>,
},
]
❯ tests/lib/enhancers/gh-ui.test.ts:15:25
❯ tests/corpus-fixture.ts:52:24
|
tests/lib/enhancers/gh-ui.test.ts > github ui > gh_issue_edit:should render correct UI elements:
tests/lib/enhancers/gh-ui.test.ts#L15
Error: Snapshot `github ui > gh_issue_edit:should render correct UI elements 1` mismatched
- Expected
+ Received
@@ -15,16 +15,20 @@
>
<IssueOpenedIcon
size={16}
/>
</span>
- #
- 56
- <a
+ <span>
+ #
+ 56
+ |
+
+ <a
- className="truncate hover:underline"
+ className="truncate hover:underline"
- href="https://github.com/diffplug/gitcasso"
+ href="https://github.com/diffplug/gitcasso"
- >
- diffplug/gitcasso
+ >
+ diffplug/gitcasso
- </a>
+ </a>
+ </span>
</React.Fragment>,
},
]
❯ tests/lib/enhancers/gh-ui.test.ts:15:25
❯ tests/corpus-fixture.ts:52:24
|
tests/lib/enhancers/gh-ui.test.ts > github ui > gh_issue:should render correct UI elements:
tests/lib/enhancers/gh-ui.test.ts#L15
Error: Snapshot `github ui > gh_issue:should render correct UI elements 1` mismatched
- Expected
+ Received
@@ -8,16 +8,20 @@
>
<IssueOpenedIcon
size={16}
/>
</span>
- #
- 523
- <a
+ <span>
+ #
+ 523
+ |
+
+ <a
- className="truncate hover:underline"
+ className="truncate hover:underline"
- href="https://github.com/diffplug/selfie"
+ href="https://github.com/diffplug/selfie"
- >
- diffplug/selfie
+ >
+ diffplug/selfie
- </a>
+ </a>
+ </span>
</React.Fragment>,
},
]
❯ tests/lib/enhancers/gh-ui.test.ts:15:25
❯ tests/corpus-fixture.ts:52:24
|