Skip to content

Commit

Permalink
fix(wasm-dpp): fix createStateTransition unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
pshenmic committed Feb 13, 2025
1 parent 6b85d35 commit f719e7d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const {
ExtendedDocument,
DataContract,
ValidationResult,
DocumentsBatchTransition,
BatchTransition,
DashPlatformProtocol,
DataContractNotPresentError,
} = require('../../..');
Expand Down Expand Up @@ -95,7 +95,7 @@ describe('DocumentFacade', () => {
});

describe('createStateTransition', () => {
it('should create DocumentsBatchTransition with passed documents - Rust', () => {
it('should create BatchTransition with passed documents - Rust', () => {
const identityId = documents[0].getOwnerId();
const contractId = documents[0].getDataContractId();

Expand All @@ -107,7 +107,7 @@ describe('DocumentFacade', () => {
},
});

expect(result).to.be.instanceOf(DocumentsBatchTransition);
expect(result).to.be.instanceOf(BatchTransition);
// expect(result.getTransitions().map((t) => t.toObject()))
// .has.deep.members(getDocumentTransitionsFixture({
// create: documentsJs,
Expand Down

0 comments on commit f719e7d

Please sign in to comment.