Skip to content

Commit b4dc330

Browse files
Fixing <xsl:include> test.
1 parent 288c76d commit b4dc330

File tree

4 files changed

+738
-348
lines changed

4 files changed

+738
-348
lines changed

.vscode/launch.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
"runtimeArgs": [
1212
"--inspect-brk",
1313
"${workspaceRoot}/node_modules/jest/bin/jest.js",
14-
"xslt.test",
15-
"--runInBand"
14+
// "include.test",
15+
"--runInBand",
16+
"--testTimeout=100000000"
1617
],
1718
"skipFiles": ["<node_internals>/**", "node_modules/**"],
1819
"console": "integratedTerminal",

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@
4747
"@rollup/plugin-terser": "^0.4.3",
4848
"@rollup/plugin-typescript": "^11.1.1",
4949
"@types/he": "^1.2.0",
50-
"@types/jest": "^29.5.2",
50+
"@types/jest": "^29.5.12",
5151
"@typescript-eslint/eslint-plugin": "^5.60.0",
5252
"@typescript-eslint/parser": "^5.60.0",
53-
"babel-jest": "^29.5.0",
53+
"babel-jest": "^29.7.0",
5454
"copy-files-from-to": "^3.9.0",
5555
"copyfiles": "^2.4.1",
5656
"eslint": "^5.12.1",
5757
"eslint-plugin-jest": "^27.2.2",
5858
"eslint-plugin-jsx": "^0.1.0",
59-
"jest": "^29.5.0",
59+
"jest": "^29.7.0",
6060
"npm-check-updates": "^16.10.13",
6161
"release-it": "^15.11.0",
6262
"rimraf": "^5.0.1",
@@ -65,9 +65,9 @@
6565
"rollup-plugin-commonjs": "^9.2.0",
6666
"rollup-plugin-node-resolve": "^4.0.0",
6767
"rollup-plugin-terser": "^4.0.3",
68-
"ts-jest": "^29.1.0",
68+
"ts-jest": "^29.1.5",
6969
"ts-node": "^10.9.1",
70-
"typescript": "4.9.4"
70+
"typescript": "^5.5.3"
7171
},
7272
"dependencies": {
7373
"he": "^1.2.0",

tests/xslt/include.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import { XmlParser } from "../../src/dom";
44
import { Xslt } from "../../src/xslt";
55

66
describe('xsl:include', () => {
7-
it.skip('Trivial', async () => {
7+
it('Trivial', async () => {
88
const xmlSource = `<html></html>`;
99

1010
const xsltSource = `<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
1111
<xsl:output method="html" indent="yes"/>
12-
<xsl:include href="https://raw.githubusercontent.com/DesignLiquido/xslt-processor/xsl-include/examples/head.xsl"/>
12+
<xsl:include href="https://raw.githubusercontent.com/DesignLiquido/xslt-processor/main/examples/head.xsl"/>
1313
</xsl:stylesheet>`;
1414

1515
const xsltClass = new Xslt();

0 commit comments

Comments
 (0)