Jump to content
Search Community

Evolution Latvia

Members
  • Posts

    5
  • Joined

  • Last visited

Evolution Latvia's Achievements

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Bureaucracy of a large project ?? Thank you for help, i will try to use beta
  2. Oh, it doesn't relates to jest. https://codesandbox.io/s/heuristic-proskuriakova-t9dxl
  3. thank you for fast answer. @GreenSock @OSUblake 3.0.5 is fixing problem. Problem that i can't add in production build such kind of dependencies on beta. I am going to disable jest test temporary. Do you have approximate date release 3.0.5?
  4. Hello, I have try to migrate project from gsap2 to gsap3. I faced with issue while run jest tests. `index.ts import { TimelineLite } from "gsap"; const timeline = new TimelineLite(); timeline.paused(true); export const init = (fn: () => void) => { timeline.call(fn, ['123'], "label"); timeline.play(); } ` ` index.spec.ts import { init } from './index'; describe('When multiplying numbers', () => { it('Should call', () => { const mock = jest.fn(); init(mock); setTimeout(() => expect(mock).toHaveBeenCalledWith('123'), 50); }); }); ` This test is passing for gsap2 and don't passing for gsap3. When i remove ` timeline.paused(true); then it starts passing for gsap3. Why? Attached full code. typescript-jest-boilerplate.zip
  5. Hello, thank you for good animation library. Do you have plan to improve types supporting? When it is planing to release next version of types? thank you
×
×
  • Create New...