зеркало из https://github.com/nextcloud/activity.git
Fix JS unit tests after handlebars
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
56f7e7e8c6
Коммит
8b10b29335
|
@ -93,7 +93,7 @@ describe('ActivityTabView', function() {
|
|||
var $activities = tabView.$container.find('.activity');
|
||||
expect($activities.length).toEqual(2);
|
||||
var $a1 = $activities.eq(0);
|
||||
expect($a1.find('.activitysubject').text()).toEqual('The Subject test.txt');
|
||||
expect($a1.find('.activitysubject').text()).toEqual('The Subject test.txt\n');
|
||||
expect($a1.find('.activitysubject strong').length).toEqual(1);
|
||||
expect($a1.find('.activitymessage').text()).toEqual('Some message');
|
||||
expect($a1.find('.activitymessage strong').length).toEqual(0);
|
||||
|
|
|
@ -32,7 +32,8 @@ module.exports = function(config) {
|
|||
'js/script.js',
|
||||
'js/activitymodel.js',
|
||||
'js/activitycollection.js',
|
||||
'js/activitytabview.js'
|
||||
'js/activitytabview.js',
|
||||
'js/templates.js'
|
||||
];
|
||||
|
||||
var testFiles = [
|
||||
|
|
Загрузка…
Ссылка в новой задаче