From 26105034da4fcce7ac883c899d781f016559310d Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Nov 2018 00:38:48 +0800 Subject: switch to vuepress --- node_modules/min-document/test/index.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 node_modules/min-document/test/index.js (limited to 'node_modules/min-document/test/index.js') diff --git a/node_modules/min-document/test/index.js b/node_modules/min-document/test/index.js new file mode 100644 index 00000000..14b736a1 --- /dev/null +++ b/node_modules/min-document/test/index.js @@ -0,0 +1,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) +} -- cgit v1.2.3