open-nomad/ui/tests/helpers/destroy-app.js

9 lines
179 B
JavaScript

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