chore(test): clean up test setup
This commit is contained in:
parent
36613c5cdf
commit
82a37e7253
|
@ -10,8 +10,7 @@ insertCSS('bpmn-embedded.css', require('bpmn-font/dist/css/bpmn-embedded.css'));
|
|||
|
||||
insertCSS('diagram-js-testing.css',
|
||||
'body .test-container { height: auto }' +
|
||||
'body .test-container .test-content-container { height: 90vmin; }' +
|
||||
'body .test-container.passed:not(:last-child) .test-content-container { display: none; }'
|
||||
'body .test-container .test-content-container { height: 90vmin; }'
|
||||
);
|
||||
|
||||
|
||||
|
|
|
@ -19,14 +19,6 @@ describe('Modeler', function() {
|
|||
container = TestContainer.get(this);
|
||||
});
|
||||
|
||||
afterEach(function() {
|
||||
if (modeler) {
|
||||
modeler.destroy();
|
||||
}
|
||||
|
||||
modeler = null;
|
||||
});
|
||||
|
||||
function createModeler(xml, done) {
|
||||
|
||||
modeler = new Modeler({
|
||||
|
|
Loading…
Reference in New Issue