Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import Notify from 'ember-notify';
var App;
// avoid slowing down the tests
Notify.View.reopen({
closeAfter: 0,
removeAfter: 0
});
module('ember-notify', {
setup: function() {
Ember.run(function() {
App = Ember.Application.create({
rootElement: '#ember-testing'
});
App.setupForTesting();
App.injectTestHelpers();
});
},
teardown: function() {
App.reset();