I'm using a Ember-Cli app which uses Testem/Qunit, and my test run fine.
However after the last test test, TestEm closes the Ember app and I am left with a white screen in the TestEm app window. Is there a way to keep this running in the app window?
I've tried commenting out the tear down but that doesn't work.
module('Integration Tests', {
setup: function () {
App = startApp();
}
/*
,
teardown: function () {
Ember.run(App, App.destroy);
}
*/
});
test("Checking page", function () {
App.reset();
expect(1);
visit('/hub');
andThen(function () {
equal(find('#btnLogin').length, 1, 'The page shows a login link');
});
});
Aucun commentaire:
Enregistrer un commentaire