test(virtualScroll): fix virtual scroll unit test

This commit is contained in:
Adam Bradley
2016-05-17 07:46:58 -05:00
parent 55ec80a479
commit 8b09733124
2 changed files with 14 additions and 16 deletions

View File

@ -535,7 +535,7 @@ describe('VirtualScroll', () => {
function getView(width?:number, height?: number, top?: number, left?: number): any {
return {
setLocal: function(){},
context: {},
rootNodes: [{
nodeType: 1,
offsetWidth: width,