UNPKG

rerumaccusamus

Version:

The meta-framework suite designed from scratch for frontend-focused modern web development.

36 lines (34 loc) 1.02 kB
import { getMWACases, getModuleCases, getMonorepoCases, getMWANewCases, getModuleNewCases, getMonorepoNewCases, } from '../src'; describe('test generator cases', () => { test('test getMWACases', async () => { const mwaCases = getMWACases(); expect(mwaCases).toMatchSnapshot(); }); test('test getModuleCases', async () => { const moduleCases = getModuleCases(); expect(moduleCases).toMatchSnapshot(); }); test('test getMonorepoCases', async () => { const monorepoCases = getMonorepoCases(); expect(monorepoCases).toMatchSnapshot(); }); test('test getMWANewCases', async () => { const mwaNewCases = getMWANewCases(); expect(mwaNewCases.length).toBe(26); }); test('test getModuleNewCases', async () => { const moduleNewCases = getModuleNewCases(); expect(moduleNewCases).toMatchSnapshot(); }); test('test getMonorepoNewCases', async () => { const monorepoNewCases = getMonorepoNewCases(); expect(monorepoNewCases).toMatchSnapshot(); }); });