quasqui
Version:
The meta-framework suite designed from scratch for frontend-focused modern web development.
14 lines (11 loc) • 320 B
text/typescript
import { genCommon } from '../src/common';
jest.mock('../src/utils', () => ({
__esModule: true,
isBeyondReact17: jest.fn(() => true),
}));
describe('test common', () => {
it('base usage', () => {
const commonConfig = genCommon({ appDirectory: 'project' });
expect(commonConfig).not.toBeNull();
});
});