anorgatarrak-wordpress-theme/node_modules/min-document/test/index.js

15 lines
422 B
JavaScript
Raw Permalink Normal View History

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)
}