Skip to content

Commit

Permalink
fix(wasm-dpp): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pshenmic committed Feb 7, 2025
1 parent 6cf9e43 commit e5bcd7f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ describe('IdentityFacade', () => {

describe('#createFromBuffer', () => {
it('should create Identity from a Buffer', () => {
const identity = dpp.identity.createFromBuffer(identity.toBuffer());
const deserialized = dpp.identity.createFromBuffer(identity.toBuffer());

expect(result).to.be.an.instanceOf(Identity);
expect(deserialized).to.be.an.instanceOf(Identity);

expect(result.toObject()).to.deep.equal(identity.toObject());
expect(deserialized.toObject()).to.deep.equal(deserialized.toObject());
});
});

Expand Down

0 comments on commit e5bcd7f

Please sign in to comment.