Skip to content

Commit

Permalink
Removed incomplete test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremythuff committed Oct 8, 2020
1 parent da35683 commit 50e107d
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions projects/wvr-elements/src/lib/core/wvr-animation.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,24 +74,20 @@ describe('WvrAnimationService', () => {
.toBeDefined();
});

it('should trigger animation target', () => {
componentOne.animationRootElem = fixtureOne.elementRef;
// tslint:disable-next-line:no-string-literal
componentOne['initializeAnimationRegistration']();
// tslint:disable-next-line:no-string-literal
componentOne['initializeAnimationElement']();
// tslint:disable-next-line:no-string-literal
componentTwo['initializeAnimationRegistration']();
// tslint:disable-next-line:no-string-literal
componentTwo['initializeAnimationElement']();
// it('should trigger animation target', () => {
// componentOne.animationRootElem = fixtureOne.elementRef;
// // tslint:disable-next-line:no-string-literal
// componentOne['initializeAnimationRegistration']();
// // tslint:disable-next-line:no-string-literal
// componentOne['initializeAnimationElement']();
// // tslint:disable-next-line:no-string-literal
// componentTwo['initializeAnimationRegistration']();
// // tslint:disable-next-line:no-string-literal
// componentTwo['initializeAnimationElement']();

// tslint:disable-next-line:no-string-literal
console.log(service['animationStates'].get(componentOne['animationStateId'])
.size);
service.triggerAnimationTarget(componentTwo.animateTarget);
// tslint:disable-next-line:no-string-literal
console.log(service['animationStates'].get(componentOne['animationStateId'])
.size);
});
// service.triggerAnimationTarget(componentTwo.animateTarget);
// // tslint:disable-next-line:no-string-literal

// });

});

0 comments on commit 50e107d

Please sign in to comment.