bpmn-moddle
Advanced tools
Comparing version 0.8.1 to 0.8.2
{ | ||
"name": "bpmn-moddle", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "A moddle wrapper for BPMN 2.0", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -2302,3 +2302,4 @@ { | ||
"Activity", | ||
"FlowElementsContainer" | ||
"FlowElementsContainer", | ||
"InteractionNode" | ||
], | ||
@@ -2305,0 +2306,0 @@ "properties": [ |
@@ -75,2 +75,6 @@ 'use strict'; | ||
builder.alter('SubProcess', function(desc) { | ||
desc.superClass.push('InteractionNode'); | ||
}); | ||
builder.alter('Documentation#text', function(prop) { | ||
@@ -77,0 +81,0 @@ prop.isBody = true; |
@@ -56,2 +56,18 @@ 'use strict'; | ||
it('should create Process', function() { | ||
var process = moddle.create('bpmn:Process'); | ||
expect(process.$type).to.eql('bpmn:Process'); | ||
expect(process.$instanceOf('bpmn:FlowElementsContainer')).to.be.true; | ||
}); | ||
it('should create SubProcess', function() { | ||
var subProcess = moddle.create('bpmn:SubProcess'); | ||
expect(subProcess.$type).to.eql('bpmn:SubProcess'); | ||
expect(subProcess.$instanceOf('bpmn:InteractionNode')).to.be.true; | ||
}); | ||
describe('defaults', function() { | ||
@@ -58,0 +74,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
902736
5706