aboutsummaryrefslogtreecommitdiff
path: root/node_modules/min-document/test/index.js
blob: 14b736a141cc16445bb6efed3c360aac13379c5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
}