mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-25 11:10:24 +01:00
6ba92b4766
* add lottie-react * test loading states * add new animations * adopt the laptophog as the loadinghog * handle opacity via a class * move all lottiefiles to lib/animations * new animation component * add storybook * use sportshog and laptophog animations for loading * jest also wants to ignore these files * clarify text * support canvas in jsdom / jest * add width/height to animations * clarify * use a mocked canvas instead of installing new debian packages to get this to compile * I posted a wrong answer on the internet Co-authored-by: Michael Matloka <dev@twixes.com>
5 lines
77 B
TypeScript
5 lines
77 B
TypeScript
import 'whatwg-fetch'
|
|
import 'jest-canvas-mock'
|
|
|
|
window.scrollTo = jest.fn()
|