From 687e940b8c5e286ef2eed604b0f77d4eac9890bd Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 18 Feb 2024 13:01:07 +0000 Subject: Add namespace mapping for relationships --- test/docx/relationships-reader.tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/docx/relationships-reader.tests.js b/test/docx/relationships-reader.tests.js index 1427b1c..c9afee5 100644 --- a/test/docx/relationships-reader.tests.js +++ b/test/docx/relationships-reader.tests.js @@ -57,9 +57,9 @@ test("when there are no relationships of requested type then empty array is retu function relationshipsElement(children) { - return xml.element("{http://schemas.openxmlformats.org/package/2006/relationships}Relationships", {}, children); + return xml.element("relationships:Relationships", {}, children); } function relationshipElement(attributes) { - return xml.element("{http://schemas.openxmlformats.org/package/2006/relationships}Relationship", attributes, []); + return xml.element("relationships:Relationship", attributes, []); } -- cgit v1.2.3