aboutsummaryrefslogtreecommitdiff
path: root/test/docx/office-xml-reader.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-12-05 19:24:00 +0000
committerMichael Williamson <mike@zwobble.org>2026-12-05 19:24:00 +0000
commita3a22525e85db9f9b576fa3b3e4210778d9d7603 (patch)
tree9a683b4ee21beb70b135b316116873cc4cbc5643 /test/docx/office-xml-reader.tests.js
parent2fe97dd468faa0d89cd6069bd0ba3b08c38e362e (diff)
Revert "Handle XML documents that are missing a root element"
This reverts commit ae06a2bacfb74c88340e900e8a29336418936e9e.
Diffstat (limited to 'test/docx/office-xml-reader.tests.js')
-rw-r--r--test/docx/office-xml-reader.tests.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/docx/office-xml-reader.tests.js b/test/docx/office-xml-reader.tests.js
index 6adb970..a017315 100644
--- a/test/docx/office-xml-reader.tests.js
+++ b/test/docx/office-xml-reader.tests.js
@@ -4,15 +4,6 @@ var xml = require("../../lib/xml");
var officeXmlReader = require("../../lib/docx/office-xml-reader");
var test = require("../test")(module);
-test("read", {
- "when document is missing root element then null is returned": function() {
- var xmlString = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
-
- return officeXmlReader.read(xmlString).then(function(element) {
- assert.strictEqual(element, null);
- });
- }
-});
test("mc:AlternateContent", {
"when mc:Fallback is present then mc:Fallback is read": function() {