This commit is contained in:
parent
7557096af6
commit
bbb2dadc9d
|
@ -104,7 +104,7 @@ describe('VnLog', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should correctly set logTree', async () => {
|
it('should correctly set logTree', async () => {
|
||||||
vm.logTree = vm.getLogs(fakeLogTreeData);
|
vm.logTree = vm.getLogTree(fakeLogTreeData);
|
||||||
expect(vm.logTree[0].originFk).toEqual(1);
|
expect(vm.logTree[0].originFk).toEqual(1);
|
||||||
expect(vm.logTree[0].logs[0].user.name).toEqual('salesPerson');
|
expect(vm.logTree[0].logs[0].user.name).toEqual('salesPerson');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue