UNPKG

create-plume-react-project

Version:
7 lines (5 loc) 339 B
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 };