@@ -111,13 +111,38 @@ describe('github', () => {
111
111
expect ( enhancements ( document , window ) ) . toMatchInlineSnapshot ( `
112
112
[
113
113
{
114
- "for": "id=feedback name=feedback className=form-control width-full mb-2",
115
- "spot": "NO_SPOT",
114
+ "for": "id=:rn: name=null className=prc-Textarea-TextArea-13q4j overtype-input",
115
+ "spot": {
116
+ "domain": "github.com",
117
+ "number": 523,
118
+ "slug": "diffplug/selfie",
119
+ "title": "[jvm] docs for VCR",
120
+ "type": "GH_ISSUE_ADD_COMMENT",
121
+ "unique_key": "github.com:diffplug/selfie:523",
122
+ },
123
+ "title": "[jvm] docs for VCR",
124
+ "upperDecoration": <React.Fragment>
125
+ <span
126
+ className="flex h-4 w-4 flex-shrink-0 items-center justify-center"
127
+ >
128
+ <IssueOpenedIcon
129
+ size={16}
130
+ />
131
+ </span>
132
+ #
133
+ 523
134
+ <a
135
+ className="truncate hover:underline"
136
+ href="https://github.com/diffplug/selfie"
137
+ >
138
+ diffplug/selfie
139
+ </a>
140
+ </React.Fragment>,
116
141
},
117
142
]
118
143
` )
119
144
} )
120
- withCorpus ( 'gh_issue_new_populated ' ) . it ( 'has enhancement on initial page load' , async ( ) => {
145
+ withCorpus ( 'gh_issue_new ' ) . it ( 'has enhancement on initial page load' , async ( ) => {
121
146
expect ( enhancements ( document , window ) ) . toMatchInlineSnapshot ( `
122
147
[
123
148
{
@@ -146,7 +171,7 @@ describe('github', () => {
146
171
]
147
172
` )
148
173
} )
149
- withCorpus ( 'gh_issue_populated_comment ' ) . it ( 'should create the correct spot object' , async ( ) => {
174
+ withCorpus ( 'gh_issue ' ) . it ( 'should create the correct spot object' , async ( ) => {
150
175
expect ( enhancements ( document , window ) ) . toMatchInlineSnapshot ( `
151
176
[
152
177
{
@@ -181,16 +206,6 @@ describe('github', () => {
181
206
]
182
207
` )
183
208
} )
184
- withCorpus ( 'gh_new_issue' ) . it ( 'should create the correct spot object' , async ( ) => {
185
- expect ( enhancements ( document , window ) ) . toMatchInlineSnapshot ( `
186
- [
187
- {
188
- "for": "id=feedback name=feedback className=form-control width-full mb-2",
189
- "spot": "NO_SPOT",
190
- },
191
- ]
192
- ` )
193
- } )
194
209
withCorpus ( 'gh_issue_edit' ) . it ( 'should create the correct spot object' , async ( ) => {
195
210
expect ( enhancements ( document , window ) ) . toMatchInlineSnapshot ( `
196
211
[
0 commit comments