thedesk/app/node_modules/min-document/test/index.js

15 lines
422 B
JavaScript
Raw Normal View History

2019-09-13 00:38:13 +10:00
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)
}