Skip to content

Commit 49ba659

Browse files
committed
Oops! Looks like new issues have the same problem that regular issues had, where there's a feedback form on initial pageload.
1 parent a32f877 commit 49ba659

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

tests/lib/enhancers/github.test.ts

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -153,26 +153,8 @@ describe('github', () => {
153153
expect(enhancements(document, window)).toMatchInlineSnapshot(`
154154
[
155155
{
156-
"for": "id=feedback name=feedback className=form-control width-full mb-2 overtype-input",
157-
"spot": {
158-
"domain": "github.com",
159-
"slug": "diffplug/selfie",
160-
"type": "GH_ISSUE_NEW_COMMENT",
161-
"unique_key": "github.com:diffplug/selfie:new",
162-
},
163-
"title": "New Issue",
164-
"upperDecoration": <React.Fragment>
165-
<span>
166-
New Issue
167-
</span>
168-
<span
169-
className="font-mono text-muted-foreground text-sm"
170-
>
171-
172-
diffplug/selfie
173-
174-
</span>
175-
</React.Fragment>,
156+
"for": "id=feedback name=feedback className=form-control width-full mb-2",
157+
"spot": "NO_SPOT",
176158
},
177159
]
178160
`)

0 commit comments

Comments
 (0)