@teambit/component.testing.mock-components 0.0.408 → 0.0.410
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.
- package/dist/mock-components.d.ts +1 -1
- package/package.json +4 -4
- package/dist/index.d.ts +0 -1
|
@@ -11,8 +11,8 @@ type CompDirs = {
|
|
|
11
11
|
* if `numOfComponents` is more than one, the components will depend on each other. by default, it's one.
|
|
12
12
|
*/
|
|
13
13
|
export declare function mockComponents(workspacePath: string, { numOfComponents, additionalStr }?: {
|
|
14
|
-
numOfComponents?: number | undefined;
|
|
15
14
|
additionalStr?: string | undefined;
|
|
15
|
+
numOfComponents?: number | undefined;
|
|
16
16
|
}): Promise<CompDirs[]>;
|
|
17
17
|
/**
|
|
18
18
|
* make the mocked components modified by appending the `additionalStr` to the component files
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/component.testing.mock-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.410",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/testing/mock-components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "testing/mock-components",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.410"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fs-extra": "10.0.0",
|
|
13
13
|
"p-map-series": "2.1.0",
|
|
14
14
|
"@teambit/component-id": "1.2.4",
|
|
15
|
-
"@teambit/harmony.testing.load-aspect": "0.0.
|
|
15
|
+
"@teambit/harmony.testing.load-aspect": "0.0.405"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/fs-extra": "9.0.7",
|
|
19
19
|
"@types/mocha": "9.1.0",
|
|
20
20
|
"chai": "5.2.1",
|
|
21
|
-
"@teambit/node.envs.node-babel-mocha": "
|
|
21
|
+
"@teambit/node.envs.node-babel-mocha": "2.0.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {},
|
|
24
24
|
"license": "Apache-2.0",
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { mockComponents, modifyMockedComponents } from './mock-components';
|