Fix karma
This commit is contained in:
parent
9c4ee8ee64
commit
3f6477fd1f
|
@ -1,5 +1,5 @@
|
|||
/* global List */
|
||||
/* global ListUser */
|
||||
/* global ListAssignee */
|
||||
/* global ListLabel */
|
||||
/* global listObj */
|
||||
/* global boardsMockInterceptor */
|
||||
|
@ -133,12 +133,12 @@ describe('Issue card', () => {
|
|||
});
|
||||
|
||||
it('does not set detail issue if img is clicked', (done) => {
|
||||
vm.issue.assignee = new ListUser({
|
||||
vm.issue.assignees = [new ListAssignee({
|
||||
id: 1,
|
||||
name: 'testing 123',
|
||||
username: 'test',
|
||||
avatar: 'test_image',
|
||||
});
|
||||
})];
|
||||
|
||||
Vue.nextTick(() => {
|
||||
triggerEvent('mouseup', vm.$el.querySelector('img'));
|
||||
|
|
|
@ -35,6 +35,7 @@ describe('Board list component', () => {
|
|||
iid: 1,
|
||||
confidential: false,
|
||||
labels: [],
|
||||
assignees: [],
|
||||
});
|
||||
list.issuesSize = 1;
|
||||
list.issues.push(issue);
|
||||
|
|
|
@ -120,7 +120,8 @@ describe('List model', () => {
|
|||
title: 'Testing',
|
||||
iid: _.random(10000) + i,
|
||||
confidential: false,
|
||||
labels: [list.label]
|
||||
labels: [list.label],
|
||||
assignees: [],
|
||||
}));
|
||||
}
|
||||
list.issuesSize = 50;
|
||||
|
@ -138,7 +139,8 @@ describe('List model', () => {
|
|||
title: 'Testing',
|
||||
iid: _.random(10000),
|
||||
confidential: false,
|
||||
labels: [list.label]
|
||||
labels: [list.label],
|
||||
assignees: [],
|
||||
}));
|
||||
list.issuesSize = 2;
|
||||
|
||||
|
|
Loading…
Reference in New Issue