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

15 lines
422 B
JavaScript
Raw Normal View History

2018-02-19 04:41:25 +11: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)
}