@modern-js/generator-cases 1.2.2 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,35 +0,0 @@
1
- import {
2
- getMWACases,
3
- getModuleCases,
4
- getMonorepoCases,
5
- getMWANewCases,
6
- getModuleNewCases,
7
- getMonorepoNewCases,
8
- } from '../src';
9
-
10
- describe('test generator cases', () => {
11
- test('test getMWACases', async () => {
12
- const mwaCases = getMWACases();
13
- expect(mwaCases).toMatchSnapshot();
14
- });
15
- test('test getModuleCases', async () => {
16
- const moduleCases = getModuleCases();
17
- expect(moduleCases).toMatchSnapshot();
18
- });
19
- test('test getMonorepoCases', async () => {
20
- const monorepoCases = getMonorepoCases();
21
- expect(monorepoCases).toMatchSnapshot();
22
- });
23
- test('test getMWANewCases', async () => {
24
- const mwaNewCases = getMWANewCases();
25
- expect(mwaNewCases.length).toBe(26);
26
- });
27
- test('test getModuleNewCases', async () => {
28
- const moduleNewCases = getModuleNewCases();
29
- expect(moduleNewCases).toMatchSnapshot();
30
- });
31
- test('test getMonorepoNewCases', async () => {
32
- const monorepoNewCases = getMonorepoNewCases();
33
- expect(monorepoNewCases).toMatchSnapshot();
34
- });
35
- });
@@ -1,9 +0,0 @@
1
- {
2
- "extends": "@modern-js/tsconfig/base",
3
- "compilerOptions": {
4
- "declaration": false,
5
- "jsx": "preserve",
6
- "baseUrl": "./",
7
- "paths": {}
8
- }
9
- }
package/tsconfig.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "extends": "@modern-js/tsconfig/base",
3
- "compilerOptions": {
4
- "declaration": false,
5
- "jsx": "preserve",
6
- "baseUrl": "./",
7
- "paths": {}
8
- },
9
- "include": ["src"]
10
- }