mirror of
https://github.com/flarum/framework.git
synced 2025-03-02 18:18:40 +08:00
20 lines
441 B
JavaScript
20 lines
441 B
JavaScript
import Ember from "ember";
|
|
import { test } from 'ember-qunit';
|
|
import startApp from '../helpers/start-app';
|
|
var App;
|
|
|
|
module('Index', {
|
|
setup: function() {
|
|
App = startApp();
|
|
},
|
|
teardown: function() {
|
|
Ember.run(App, App.destroy);
|
|
}
|
|
});
|
|
|
|
test('Discussion list loading', function() {
|
|
// expect(1);
|
|
visit('/').then(function() {
|
|
// equal(find('.discussions-list').length, 1, "Page contains list of discussions");
|
|
});
|
|
}); |