fix(view): remove dynamic components when the parent view is dehydrated

Also adds a bunch of unit tests for affected parts.

Fixes #1201
This commit is contained in:
Tobias Bosch
2015-04-14 18:01:44 -07:00
parent 6ecaa9aebb
commit 213dabdceb
16 changed files with 813 additions and 117 deletions

View File

@ -81,7 +81,7 @@ export function main() {
});
it('should create spys for all methods', () => {
expect(spyObj.someFunc).toBeTruthy();
expect(() => spyObj.someFunc()).not.toThrow();
});
it('should create a default spy that does not fail for numbers', () => {