Skip to content

Commit 9fd58a5

Browse files
committed
fix: wrong import path
1 parent 55dc24d commit 9fd58a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/signature-object-tests.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as xpath from "xpath";
44
import * as xmldom from "@xmldom/xmldom";
55
import * as isDomNode from "@xmldom/is-dom-node";
66
import { SignedXml } from "../src";
7-
import { Sha256 } from "../lib/hash-algorithms";
7+
import { Sha256 } from "../src/hash-algorithms";
88

99
describe("Object support in XML signatures", function () {
1010
it("should add custom ds:Object elements to signature", function () {
@@ -91,7 +91,7 @@ describe("Object support in XML signatures", function () {
9191
expect(isValid).to.be.true;
9292
});
9393

94-
it("should handle empty or null getObjectContent", function () {
94+
it("should handle empty or undefined objects", function () {
9595
// Create a simple XML document to sign
9696
const xml = '<root><x xmlns="ns"></x><y attr="value"></y><z><w></w></z></root>';
9797

0 commit comments

Comments
 (0)