create-plume-react-project
Version:
CLI to create Plume React Project
7 lines (5 loc) • 339 B
text/typescript
import { ViteHotContext } from 'vite/types/hot';
// This is needed in order to mock the import.meta.hot object which is not available in Jest
// See https://github.com/kulshekhar/ts-jest/issues/3888
// eslint-disable-next-line import/prefer-default-export
export const viteHotContext: { hot?: ViteHotContext } = { hot: import.meta.hot };