|
| 1 | +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html |
| 2 | + |
| 3 | +exports[`github detection > gh_issue:should detect correct spots 1`] = ` |
| 4 | +[ |
| 5 | + { |
| 6 | + "for": "id=:rn: name=null className=prc-Textarea-TextArea-13q4j overtype-input", |
| 7 | + "spot": { |
| 8 | + "domain": "github.com", |
| 9 | + "number": 523, |
| 10 | + "slug": "diffplug/selfie", |
| 11 | + "title": "[jvm] docs for VCR", |
| 12 | + "type": "GH_ISSUE_ADD_COMMENT", |
| 13 | + "unique_key": "github.com:diffplug/selfie:523", |
| 14 | + }, |
| 15 | + }, |
| 16 | +] |
| 17 | +`; |
| 18 | + |
| 19 | +exports[`github detection > gh_issue_edit:should detect correct spots 1`] = ` |
| 20 | +[ |
| 21 | + { |
| 22 | + "for": "id=:rc3: name=null className=prc-Textarea-TextArea-13q4j focus-visible overtype-input", |
| 23 | + "spot": { |
| 24 | + "type": "GH_EDIT_COMMENT", |
| 25 | + "unique_key": "github.com:diffplug/gitcasso:56:edit-body", |
| 26 | + }, |
| 27 | + }, |
| 28 | + { |
| 29 | + "for": "id=:ra7: name=null className=prc-Textarea-TextArea-13q4j overtype-input", |
| 30 | + "spot": { |
| 31 | + "domain": "github.com", |
| 32 | + "number": 56, |
| 33 | + "slug": "diffplug/gitcasso", |
| 34 | + "title": "what about the draft?", |
| 35 | + "type": "GH_ISSUE_ADD_COMMENT", |
| 36 | + "unique_key": "github.com:diffplug/gitcasso:56", |
| 37 | + }, |
| 38 | + }, |
| 39 | +] |
| 40 | +`; |
| 41 | + |
| 42 | +exports[`github detection > gh_issue_new:should detect correct spots 1`] = ` |
| 43 | +[ |
| 44 | + { |
| 45 | + "for": "id=:r34: name=null className=prc-Textarea-TextArea-13q4j focus-visible overtype-input", |
| 46 | + "spot": { |
| 47 | + "domain": "github.com", |
| 48 | + "slug": "diffplug/gitcasso", |
| 49 | + "title": "New issue title", |
| 50 | + "type": "GH_ISSUE_NEW_COMMENT", |
| 51 | + "unique_key": "github.com:diffplug/gitcasso:new", |
| 52 | + }, |
| 53 | + }, |
| 54 | +] |
| 55 | +`; |
| 56 | + |
| 57 | +exports[`github detection > gh_pr:should detect correct spots 1`] = ` |
| 58 | +[ |
| 59 | + { |
| 60 | + "for": "id=feedback name=feedback className=form-control width-full mb-2", |
| 61 | + "spot": "NO_SPOT", |
| 62 | + }, |
| 63 | + { |
| 64 | + "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", |
| 65 | + "spot": { |
| 66 | + "domain": "github.com", |
| 67 | + "number": 517, |
| 68 | + "slug": "diffplug/selfie", |
| 69 | + "title": "Add "VCR" functionality |
| 70 | + #517", |
| 71 | + "type": "GH_PR_ADD_COMMENT", |
| 72 | + "unique_key": "github.com:diffplug/selfie:517", |
| 73 | + }, |
| 74 | + }, |
| 75 | +] |
| 76 | +`; |
| 77 | + |
| 78 | +exports[`github detection > gh_pr_edit:should detect correct spots 1`] = ` |
| 79 | +[ |
| 80 | + { |
| 81 | + "for": "id=issue-3429313834-body name=pull_request[body] className=js-comment-field js-paste-markdown js-task-list-field js-quick-submit js-size-to-fit size-to-fit js-session-resumable CommentBox-input FormControl-textarea js-saved-reply-shortcut-comment-field focus-visible overtype-input", |
| 82 | + "spot": { |
| 83 | + "type": "GH_EDIT_COMMENT", |
| 84 | + "unique_key": "github.com:diffplug/gitcasso:58:edit-body", |
| 85 | + }, |
| 86 | + }, |
| 87 | + { |
| 88 | + "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", |
| 89 | + "spot": { |
| 90 | + "domain": "github.com", |
| 91 | + "number": 58, |
| 92 | + "slug": "diffplug/gitcasso", |
| 93 | + "title": "Feat/expand corpus |
| 94 | + |
| 95 | + #58", |
| 96 | + "type": "GH_PR_ADD_COMMENT", |
| 97 | + "unique_key": "github.com:diffplug/gitcasso:58", |
| 98 | + }, |
| 99 | + }, |
| 100 | +] |
| 101 | +`; |
| 102 | + |
| 103 | +exports[`github detection > gh_pr_new:should detect correct spots 1`] = ` |
| 104 | +[ |
| 105 | + { |
| 106 | + "for": "id=feedback name=feedback className=form-control width-full mb-2", |
| 107 | + "spot": "NO_SPOT", |
| 108 | + }, |
| 109 | + { |
| 110 | + "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", |
| 111 | + "spot": { |
| 112 | + "base": "main", |
| 113 | + "domain": "github.com", |
| 114 | + "head": "cavia-porcellus:selfie:main", |
| 115 | + "slug": "diffplug/selfie", |
| 116 | + "title": "Update README.md", |
| 117 | + "type": "GH_PR_NEW_COMMENT", |
| 118 | + "unique_key": "github.com:diffplug/selfie:main...cavia-porcellus:selfie:main", |
| 119 | + }, |
| 120 | + }, |
| 121 | +] |
| 122 | +`; |
| 123 | + |
| 124 | +exports[`github detection > gh_project:should detect correct spots 1`] = `[]`; |
| 125 | + |
| 126 | +exports[`github detection > gh_project_draft:should detect correct spots 1`] = `[]`; |
| 127 | + |
| 128 | +exports[`github detection > gh_project_draft_edit:should detect correct spots 1`] = ` |
| 129 | +[ |
| 130 | + { |
| 131 | + "for": "id=:r5a: name=null className=prc-Textarea-TextArea-13q4j", |
| 132 | + "spot": "NO_SPOT", |
| 133 | + }, |
| 134 | +] |
| 135 | +`; |
| 136 | + |
| 137 | +exports[`github detection > gh_project_issue:should detect correct spots 1`] = ` |
| 138 | +[ |
| 139 | + { |
| 140 | + "for": "id=:rbs: name=null className=prc-Textarea-TextArea-13q4j", |
| 141 | + "spot": "NO_SPOT", |
| 142 | + }, |
| 143 | +] |
| 144 | +`; |
| 145 | + |
| 146 | +exports[`github detection > gh_project_issue_edit:should detect correct spots 1`] = ` |
| 147 | +[ |
| 148 | + { |
| 149 | + "for": "id=:rdh: name=null className=prc-Textarea-TextArea-13q4j", |
| 150 | + "spot": "NO_SPOT", |
| 151 | + }, |
| 152 | + { |
| 153 | + "for": "id=:rbs: name=null className=prc-Textarea-TextArea-13q4j", |
| 154 | + "spot": "NO_SPOT", |
| 155 | + }, |
| 156 | +] |
| 157 | +`; |
0 commit comments