From 56b0b7baffcb36b06c4707280a7fd84b608e7374 Mon Sep 17 00:00:00 2001
From: Leonel Sanches da Silva
<53848829+leonelsanchesdasilva@users.noreply.github.com>
Date: Fri, 18 Oct 2024 12:44:17 -0700
Subject: [PATCH] Updating unit test on
https://github.com/DesignLiquido/xslt-processor/issues/109.
---
tests/xslt/apply-template.test.ts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/xslt/apply-template.test.ts b/tests/xslt/apply-template.test.ts
index 47a8c07..5100eca 100644
--- a/tests/xslt/apply-template.test.ts
+++ b/tests/xslt/apply-template.test.ts
@@ -39,19 +39,19 @@ describe('xsl:apply-template', () => {
// assert.ok(outXmlString);
});
- it.skip('XSLT template with text on both sides', async () => {
+ it('XSLT template with text on both sides', async () => {
const xmlString = `
This text lost
`;
const xsltString = `
-
+
- XY
+ XY
`;
- const expectedOutString = `XY`;
+ const expectedOutString = `Xtest1Y`;
const xsltClass = new Xslt();
const xmlParser = new XmlParser();