0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-29 11:12:33 +01:00
posthog/plugin-server/functional_tests/jest.setup.ts

9 lines
387 B
TypeScript
Raw Normal View History

import { status } from '../src/utils/status'
// NOTE: in testing we use the pino-pretty transport, which results in a handle
// that we need to close to allow Jest to exit properly.
// TODO: update jest modules path to not include the plugin-server/src/ i.e.
// nothing in the functional tests should be importing anything from the
// plugin-server code.
afterAll(() => status.close())