UNPKG

histoire

Version:

A fast story book powered by Vite

17 lines (12 loc) • 380 B
import { pushHistoireTestRegistration } from '@histoire/shared' export * from '@histoire/app' export { getControlsHost } from '@histoire/shared' export function isCollecting() { return process.env.HST_COLLECT === 'true' } export function isTesting() { return globalThis.__HST_TEST__ === true } export function onTest(register) { pushHistoireTestRegistration(register) }