Skip to content

Commit

Permalink
feat: Extract decorators and vocab via visitor pattern
Browse files Browse the repository at this point in the history
Signed-off-by: Muskan Bararia <[email protected]>
  • Loading branch information
Muskan Bararia committed Nov 8, 2023
1 parent 5ff26dd commit f0afdfd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/concerto-core/test/decoratormanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,13 +493,7 @@ describe('DecoratorManager', () => {
};
let resp = DecoratorManager.extractDecorators( testModelManager, options);
let dcs = resp.decoratorCommandSet;
let modelManager = resp.modelManager;
dcs.forEach((decorator)=>{
modelManager=DecoratorManager.decorateModels( modelManager, decorator);
});
let updatedModels = modelManager.getNamespaces();
let testModels = testModelManager.getNamespaces();
updatedModels.should.deep.equal(testModels);
dcs.should.not.be.null;
});
});

Expand Down

0 comments on commit f0afdfd

Please sign in to comment.