UNPKG

jest-metadata

Version:

🦸‍♂️ Superhero power for your Jest reporters! 🦸‍♀️

16 lines (10 loc) 385 B
import { ParentProcessRealm, realm } from '../realms'; export { Shallow } from '../jest-reporter'; export function isFallback() { return realm.type === 'parent_process' ? (realm as ParentProcessRealm).fallbackAPI.enabled : undefined; } export const events = realm.events; export const metadataRegistryEvents = realm.metadataRegistry.events; export * from './visualize';