fix(viewFactory): allow empty view cache
This commit is contained in:
@ -66,10 +66,10 @@ export function main() {
|
||||
return binder;
|
||||
}
|
||||
|
||||
it('should create views', () => {
|
||||
it('should create views without cache', () => {
|
||||
var pv = createProtoView();
|
||||
var vf = createViewFactory({
|
||||
capacity: 1
|
||||
capacity: 0
|
||||
});
|
||||
expect(vf.getView(pv) instanceof AppView).toBe(true);
|
||||
});
|
||||
|
Reference in New Issue
Block a user