This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
posthog
Watch
0
Star
0
Fork
0
You've already forked posthog
mirror of
https://github.com/PostHog/posthog.git
synced
2024-11-21 21:49:51 +01:00
Code
Issues
Releases
Activity
b63c497107
posthog
/
jest.setup.ts
5 lines
77 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Logic tests again (#5234) Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-24 01:58:29 +02:00
import
'whatwg-fetch'
feat(frontend): use lottie for animation (#9904) * 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>
2022-06-06 12:50:13 +02:00
import
'jest-canvas-mock'
Activate turbo mode (#7254) * activate turbo mode * fix test * remove comment * reduce noise in tests * fix missing var
2021-11-23 17:22:05 +01:00
window
.
scrollTo
=
jest
.
fn
(
)
Copy Permalink