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:
@ -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', () => {
|
||||
|
Reference in New Issue
Block a user