chore(test): clean up test setup

This commit is contained in:
Philipp Fromme 2018-07-09 12:30:45 +02:00
parent 36613c5cdf
commit 82a37e7253
2 changed files with 1 additions and 10 deletions

View File

@ -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; }'
);

View File

@ -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({