open-nomad/ui/tests/helpers/destroy-app.js
Alex Dadgar e5ec915ac3 sync
2017-09-19 10:08:23 -05:00

9 lines
174 B
JavaScript

import Ember from 'ember';
export default function destroyApp(application) {
Ember.run(application, 'destroy');
if (window.server) {
window.server.shutdown();
}
}