Skip to content

Commit c07e318

Browse files
committed
fix(ts): fixed types and comments
1 parent 5b52210 commit c07e318

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"type": "git",
88
"url": "git+https://github.com/jupitex/node-libxml.git"
99
},
10+
"types": "index.d.ts",
1011
"scripts": {
1112
"test": "jest",
1213
"install": "node-gyp-build",

tests/libxml-test.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ describe("Node-Libxml", function () {
187187
expect(wellformedV).toBeFalsy;
188188
expect(libxml).not.toHaveProperty("wellformedErrors");
189189
expect(libxml).toHaveProperty("validationDtdErrors");
190-
libxml.validationDtdErrors["tests/dtd/mydoctype.dtd"]; //?
190+
libxml.validationDtdErrors["tests/dtd/mydoctype.dtd"];
191191
expect(libxml.validationDtdErrors["tests/dtd/mydoctype.dtd"]).toHaveLength(
192192
5
193193
);
@@ -203,7 +203,6 @@ describe("Node-Libxml", function () {
203203
libxml.freeXml();
204204
libxml.freeDtds();
205205
});
206-
// // SCHEMAS
207206
it("Should return wellformed & valid on a wellformed & valid xml SCHEMA", function () {
208207
let libxml = new Libxml();
209208
let testDefaultWf = libxml.loadXml("tests/data/test-valid-schema.xml");

0 commit comments

Comments
 (0)