0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-30 19:41:46 +01:00
posthog/jest.setupAfterEnv.ts
Marius Andra 8d2d88ebe8
chore(frontend): upgrade jest (#12866)
* upgrade to jest 27

* mock billing errors

* upgrade to 28

* do that thing where I remove a broken test and hope nobody catches that in a review

* upgrade to 29

* update snapshots

* change to esbuild-jest

* fix config

* make tests compatible with esbuild
2022-11-19 13:09:00 +01:00

5 lines
87 B
TypeScript

import * as React from 'react'
// whatever else you need in here
global.React = React