-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation site #200
Documentation site #200
Conversation
31d47e1
to
ae6ce8a
Compare
4bc51eb
to
75d078b
Compare
e8fdf71
to
1a0d3db
Compare
Prepublished here https://munter.github.io/unexpected-dom/ |
91b128a
to
ada9505
Compare
@papandreou don't know what is up with Coveralls, I would expect the coverage to go up. |
Istanbul seems to agree with coveralls. Before (master, 31d8e83)
After (ssimonsen/documentation-site, 2113973)
And roughly the same after rebasing ssimonsen/documentation-site on master:
Comparing the two coverage reports, the difference seems to be down to the introduction of The reason is that bootstrap-unexpected-markdown.js now sets up a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, this looks great! 🚢
I found a few typos, PR here: #207
When reading through the docs was a little unsure about the createElement
function, which might be mistaken for a built-in function because it's not explicitly defined on the doc site. On the other hand, the function itself isn't really the point, and it's perfectly understandable what it does, so it's probably not worth spending too many words on explaining it :)
Thanks for the explanation, let me create a test for the new addition. About the creareElement function, let's see if people gets confused about it. |
cb1d0d4
to
1fe8de8
Compare
<DOMElement> to have text <any>
<DOMElement> to [only] have (attribute|attributes) <array|object>
<DOMElement> to [only] have (attribute|attributes) <string+>
<DOMElement> not to have (attribute|attributes) <array>
<DOMElement> not to have (attribute|attributes) <string+>
<DOMElement> to [exhaustively] satisfy <string>
<DOMElement> to [exhaustively] satisfy <object>
<DOMElement> to [exhaustively] satisfy <DOMElement>
<DOMElement> to have [no] (child|children)
<DOMElement> to have (class|classes) <array|string>
<DOMElement> to only have (class|classes) <array|string>
<DOMDocument|DOMElement|DOMDocumentFragment> to contain [no] elements matching <string>
<DOMNodeList> to [exhaustively] satisfy <DOMNodeList>
<DOMDocument|DOMElement|DOMDocumentFragment> [not] to match <string>
<DOMDocument|DOMElement|DOMDocumentFragment> [when] queried for [first] <string> <assertion?>
<string> when parsed as HTML <assertion>
<string> when parsed as XML <assertion>
Stuff that might be covered by the above.
<DOMTextNode> to [exhaustively] satisfy <DOMElement>
<DOMElement> to [exhaustively] satisfy <DOMTextNode>
<DOMDocument> to [exhaustively] satisfy <DOMDocument>
<DOMDocumentFragment> to [exhaustively] satisfy <object|array>
<DOMDocumentFragment> to [exhaustively] satisfy <DOMDocumentFragment>
<DOMTextNode> to [exhaustively] satisfy <DOMTextNode>
<DOMTextNode> to [exhaustively] satisfy <regexp>
<DOMDocument> to [exhaustively] satisfy <string>
<DOMDocumentFragment> to [exhaustively] satisfy <string>
<DOMTextNode> to [exhaustively] satisfy <object>
<DOMTextNode> to [exhaustively] satisfy <any>
This is too weird:
<DOMNodeList> to [exhaustively] satisfy <string>