Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn committed Oct 30, 2024
1 parent aea64e6 commit 2b4fb0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/credential-sdk/src/modules/tests/blob-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default function generateBlobModuleTests(
};

await blobModule.new(blob1, didKeypair);
expect(await resolver.resolve(blob1.id)).toEqual([
expect(await resolver.resolve(String(blob1.id))).toEqual([
String(did),
stringToU8a(blob1.blob),
]);
Expand Down
2 changes: 1 addition & 1 deletion packages/credential-sdk/src/modules/tests/did-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export default function generateDIDModuleTests(

await module.createDocument(document, didKeypair);

expect(await resolver.resolve(did)).toEqual(document.toJSON());
expect(await resolver.resolve(String(did))).toEqual(document.toJSON());
});
});
}

0 comments on commit 2b4fb0d

Please sign in to comment.