Cable-Desktop/test/fixtures_test.js
Ikarulus 53cd3af78b Added a dark theme
I added a dark theme in order to solve #328.
This may fix #328 at least partially.
2016-12-02 00:41:42 +01:00

23 lines
778 B
JavaScript

'use strict';
describe("Fixtures", function() {
before(function(done) {
Whisper.Fixtures.saveAll().then(function() {
done();
});
});
it('renders', function(done) {
ConversationController.updateInbox().then(function() {
var view = new Whisper.InboxView({appWindow: {contentWindow: window}});
view.$el.prependTo($('#render-android'));
var view = new Whisper.InboxView({appWindow: {contentWindow: window}});
view.$el.removeClass('android').addClass('ios');
view.$el.prependTo($('#render-ios'));
var view = new Whisper.InboxView({appWindow: {contentWindow: window}});
view.$el.removeClass('android').addClass('android-dark');
view.$el.prependTo($('#render-android-dark'));
}).then(done,done);
});
});