test(ivy): re-enable passing animation tests (#27997)

PR Close #27997
This commit is contained in:
Kara Erickson 2019-01-08 12:41:28 -08:00
parent a0840242d7
commit 1a7f92c423
1 changed files with 62 additions and 66 deletions

View File

@ -817,8 +817,7 @@ const DEFAULT_COMPONENT_ID = '1';
}); });
describe('host bindings', () => { describe('host bindings', () => {
fixmeIvy('unknown').it( it('should trigger a state change animation from state => state on the component host element',
'should trigger a state change animation from state => state on the component host element',
fakeAsync(() => { fakeAsync(() => {
@Component({ @Component({
selector: 'my-cmp', selector: 'my-cmp',
@ -850,9 +849,7 @@ const DEFAULT_COMPONENT_ID = '1';
const data = getLog().pop() !; const data = getLog().pop() !;
expect(data.element).toEqual(fixture.elementRef.nativeElement); expect(data.element).toEqual(fixture.elementRef.nativeElement);
expect(data.keyframes).toEqual([ expect(data.keyframes).toEqual([{offset: 0, opacity: '0'}, {offset: 1, opacity: '1'}]);
{offset: 0, opacity: '0'}, {offset: 1, opacity: '1'}
]);
})); }));
// nonAnimationRenderer => animationRenderer // nonAnimationRenderer => animationRenderer
@ -2720,8 +2717,7 @@ const DEFAULT_COMPONENT_ID = '1';
expect(elm.innerText.trim()).toEqual(''); expect(elm.innerText.trim()).toEqual('');
})); }));
fixmeIvy('unknown').it( it('should trigger a state change listener for when the animation changes state from void => state on the host element',
'should trigger a state change listener for when the animation changes state from void => state on the host element',
fakeAsync(() => { fakeAsync(() => {
@Component({ @Component({
selector: 'my-cmp', selector: 'my-cmp',