This prevents the .test-container selector to appear twice in our test
markup:
```html
<div class="test-container passed" id="camunda-properties simple should
open stuff">
<div class="title-row">
<a href="#camunda-properties%20simple%20should%20open%20stuff">
<h3 class="test-titel">camunda-properties simple should open
stuff</h3>
</a>
<div class="test-result" style="float: right;">passed</div>
</div>
<div class="test-content-container test-container">
<!-- test content -->
</div>
</div>
```
With this commit we only add the .test-content-container marker in cases
where `mocha-test-container-support` is not present upon running
`bootstrapBpmnJS`.
* use ES6 import / export
* UTILS: export individual utilities
* TESTS: localize TestHelper includes
BREAKING CHANGE:
* all utilities export independent functions
* library sources got ported to ES6. You must now use
a ES module bundler such as Browserify + babelify or
Webpack to consume this library (or parts of it).
This is a breaking change for users that may rely on `assets/bpmn-font`
being present in the library.
BREAKING CHANGE:
* use `bpmn-font` package, specifically `bpmn-font/dist` if you need the
font previously contained in the assets directory.
This commit extracts the test helper utility to its own module.
Use in bpmn-js extensions via
var Helper = require('bpmn-js/test/helper');
This adds the global helper bindings bootstrapModeler/Viewer and inject.
This commit replaces the test helper #bootstrapBpmnJS with either
This ensures we can have different Modeler/Viewer specific bootstrap
code being called based on whether we test modeling or viewing only
features.
This adds id logging + validation to the Modeler. As a result the
modeler will throw hard exeptions on colliding id mappings and may
generated unique ids.
Related to bpmn-io/bpmn-js#92
This commit cleans up reminders of the node-js test suite removal
by removing the test/node folder.
The test structure has been aligned by moving all tests from
* test/spec/browser to test/spec
* test/spec/integration to test/integration