You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'the URL was converted into a bare domain': function(err,obj){
assert.includes(obj,'domain');
assert.equal(obj.domain,'example.com');
}
},
'and we pass it a body that has a freeform comment': assertCorrectBody('Type: new ruleset\nDomain: example.com\nAnd let me say, what a great GitHub bot HTTPS Everywhere has!'),
'and we pass it a body that has a freeform comment with a Markdown link': assertCorrectBody('Type: new ruleset\nDomain: example.com\nPlease add [example.com][].\n\n [example.com]: http://example.com.'),
'and we pass it a body that has a freeform comment with colons': assertCorrectBody('Type: new ruleset\nDomain: example.com\nHere\'s a secret: I like colons.'),
'and we pass it a body that has a freeform comment with multiple colons': assertCorrectBody('Type: new ruleset\nDomain: example.com\nHere\'s a secret: I like colons. Another secret: I like them a lot.'),
'and we pass it a code issue without any other data': assertTypeSucceeds('code issue'),
'and we pass it a feature request without any other data': assertTypeSucceeds('feature request'),
'and we pass it an issue labeled "other" without any other data': assertTypeSucceeds('other'),
'and we pass it a body that isn\'t a valid issue type': {