15 lines
422 B
JavaScript
15 lines
422 B
JavaScript
var testDocument = require("./test-document")
|
|
var testDomElement = require("./test-dom-element")
|
|
var testDomComment = require("./test-dom-comment")
|
|
var document = require("../index")
|
|
|
|
testDocument(document)
|
|
testDomElement(document)
|
|
testDomComment(document)
|
|
|
|
if (typeof window !== "undefined" && window.document) {
|
|
testDocument(window.document)
|
|
testDomElement(window.document)
|
|
testDomComment(window.document)
|
|
}
|