@pega/dx-component-builder-sdk 0.242.14 → 0.242.15
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/package.json +1 -1
- package/src/tasks/create/index.js +7 -5
- package/src/tasks/quarantine/index.js +4 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/dropdown/dropdown.component.ts +122 -7
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/case-view.component.html +4 -4
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/case-view.component.ts +7 -12
- package/tests/assets/sdk-a/components/create/override-sdk/template/default-form/default-form.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/details/details.component.ts +5 -39
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-narrow-wide/details-narrow-wide.component.ts +5 -38
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-one-column/details-one-column.component.ts +5 -40
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-sub-tabs/details-sub-tabs.component.html +1 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-sub-tabs/details-sub-tabs.component.ts +5 -37
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-three-column/details-three-column.component.ts +5 -41
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-two-column/details-two-column.component.ts +5 -41
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-wide-narrow/details-wide-narrow.component.ts +5 -40
- package/tests/assets/sdk-a/components/create/override-sdk/template/one-column/one-column.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-manual/simple-table-manual.component.scss +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/three-column/three-column.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/two-column/two-column.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/wide-narrow-form/wide-narrow-form.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-picklist/pega-dxil-my-picklist.component.ts +29 -15
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-details/pega-dxil-my-details.component.ts +5 -39
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/demo.stories.tsx +1 -4
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/pega-dxil-my-form.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-details/pega-dxil-my-two-column-details.component.ts +6 -42
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-form/pega-dxil-my-two-column-form.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/dropdown/dropdown.component.ts +122 -7
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/case-view.component.html +4 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/case-view.component.ts +7 -12
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/default-form/default-form.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details/details.component.ts +5 -39
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-narrow-wide/details-narrow-wide.component.ts +5 -38
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-one-column/details-one-column.component.ts +5 -40
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-sub-tabs/details-sub-tabs.component.html +1 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-sub-tabs/details-sub-tabs.component.ts +5 -37
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-three-column/details-three-column.component.ts +5 -41
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-two-column/details-two-column.component.ts +5 -41
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-wide-narrow/details-wide-narrow.component.ts +5 -40
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/one-column/one-column.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-manual/simple-table-manual.component.scss +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/three-column/three-column.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/two-column/two-column.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/wide-narrow-form/wide-narrow-form.component.ts +2 -2
- package/tests/functional/sdk-a/localCreateAllListDeleteAllCustom.test.js +5 -5
- package/tests/functional/sdk-a/localCreateAllListDeleteAllOverride.test.js +5 -5
- package/tests/functional/sdk-a/localCreateBuildAllDeleteAllCustom.test.js +2 -2
- package/tests/functional/sdk-a/localCreateBuildDeleteCustom.test.js +2 -2
- package/tests/functional/sdk-a/localCreateBuildDeleteOverride.test.js +2 -2
- package/tests/functional/sdk-a/localCreateListDeleteCustom.test.js +1 -1
- package/tests/functional/sdk-a/localCreateListDeleteOverride.test.js +1 -1
- package/tests/functional/sdk-a/localCreateMapAllClearMap.test.js +2 -2
- package/tests/functional/sdk-a/localCreatePublishAllDeleteAllCustom.test.js +2 -2
- package/tests/functional/sdk-a/localCreatePublishAllDeleteAllOverride.test.js +2 -2
- package/tests/functional/sdk-a/localCreatePublishDeleteCustom.test.js +2 -2
- package/tests/functional/sdk-a/localCreatePublishDeleteOverride.test.js +2 -2
- package/tests/functional/sdk-a/localCreateRenameDeleteCustom.test.js +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Component,
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '@pega/angular-sdk-components';
|
|
1
|
+
import { Component, forwardRef } from '@angular/core';
|
|
4
2
|
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
3
|
+
import { DetailsTemplateBase } from '@pega/angular-sdk-components';
|
|
5
4
|
|
|
6
5
|
@Component({
|
|
7
6
|
selector: 'app-details-wide-narrow',
|
|
@@ -10,50 +9,16 @@ import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
|
10
9
|
standalone: true,
|
|
11
10
|
imports: [forwardRef(() => ComponentMapperComponent)]
|
|
12
11
|
})
|
|
13
|
-
export class DetailsWideNarrowComponent
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
@Input() pConn$: typeof PConnect;
|
|
17
|
-
@Input() formGroup$: FormGroup;
|
|
12
|
+
export class DetailsWideNarrowComponent extends DetailsTemplateBase {
|
|
13
|
+
override pConn$: typeof PConnect;
|
|
18
14
|
|
|
19
15
|
highlightedDataArr: any[] = [];
|
|
20
16
|
showHighlightedData: boolean;
|
|
21
17
|
arFields$: any[] = [];
|
|
22
18
|
arFields2$: any[] = [];
|
|
23
19
|
propsToUse: any = {};
|
|
24
|
-
// Used with AngularPConnect
|
|
25
|
-
angularPConnectData: AngularPConnectData = {};
|
|
26
|
-
|
|
27
|
-
ngOnInit(): void {
|
|
28
|
-
// First thing in initialization is registering and subscribing to the AngularPConnect service
|
|
29
|
-
this.angularPConnectData = this.angularPConnect.registerAndSubscribeComponent(this, this.onStateChange);
|
|
30
|
-
|
|
31
|
-
// this.updateSelf();
|
|
32
|
-
this.checkAndUpdate();
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
ngOnDestroy() {
|
|
36
|
-
if (this.angularPConnectData.unsubscribeFn) {
|
|
37
|
-
this.angularPConnectData.unsubscribeFn();
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
onStateChange() {
|
|
42
|
-
this.checkAndUpdate();
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
checkAndUpdate() {
|
|
46
|
-
// Should always check the bridge to see if the component should
|
|
47
|
-
// update itself (re-render)
|
|
48
|
-
const bUpdateSelf = this.angularPConnect.shouldComponentUpdate(this);
|
|
49
|
-
|
|
50
|
-
// ONLY call updateSelf when the component should update
|
|
51
|
-
if (bUpdateSelf) {
|
|
52
|
-
this.updateSelf();
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
20
|
|
|
56
|
-
updateSelf() {
|
|
21
|
+
override updateSelf() {
|
|
57
22
|
const rawMetaData: any = this.pConn$.resolveConfigProps(this.pConn$.getRawMetadata()?.config);
|
|
58
23
|
this.showHighlightedData = rawMetaData?.showHighlightedData;
|
|
59
24
|
|
|
@@ -2,7 +2,7 @@ import { Component, OnInit, Input, forwardRef, OnChanges, SimpleChanges } from '
|
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { FormGroup } from '@angular/forms';
|
|
4
4
|
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
5
|
-
import {
|
|
5
|
+
import { FormTemplateBase } from '@pega/angular-sdk-components';
|
|
6
6
|
|
|
7
7
|
@Component({
|
|
8
8
|
selector: 'app-one-column',
|
|
@@ -11,7 +11,7 @@ import { FormTemplateBaseComponent } from '@pega/angular-sdk-components';
|
|
|
11
11
|
standalone: true,
|
|
12
12
|
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
13
13
|
})
|
|
14
|
-
export class OneColumnComponent extends
|
|
14
|
+
export class OneColumnComponent extends FormTemplateBase implements OnInit, OnChanges {
|
|
15
15
|
@Input() override pConn$: typeof PConnect;
|
|
16
16
|
@Input() formGroup$: FormGroup;
|
|
17
17
|
|
|
@@ -2,7 +2,7 @@ import { Component, OnInit, Input, forwardRef, OnChanges, SimpleChanges } from '
|
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { FormGroup } from '@angular/forms';
|
|
4
4
|
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
5
|
-
import {
|
|
5
|
+
import { FormTemplateBase } from '@pega/angular-sdk-components';
|
|
6
6
|
|
|
7
7
|
@Component({
|
|
8
8
|
selector: 'app-three-column',
|
|
@@ -11,7 +11,7 @@ import { FormTemplateBaseComponent } from '@pega/angular-sdk-components';
|
|
|
11
11
|
standalone: true,
|
|
12
12
|
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
13
13
|
})
|
|
14
|
-
export class ThreeColumnComponent extends
|
|
14
|
+
export class ThreeColumnComponent extends FormTemplateBase implements OnInit, OnChanges {
|
|
15
15
|
@Input() override pConn$: typeof PConnect;
|
|
16
16
|
@Input() formGroup$: FormGroup;
|
|
17
17
|
|
|
@@ -2,7 +2,7 @@ import { Component, OnInit, Input, forwardRef, SimpleChanges, OnChanges } from '
|
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { FormGroup } from '@angular/forms';
|
|
4
4
|
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
5
|
-
import {
|
|
5
|
+
import { FormTemplateBase } from '@pega/angular-sdk-components';
|
|
6
6
|
|
|
7
7
|
@Component({
|
|
8
8
|
selector: 'app-two-column',
|
|
@@ -11,7 +11,7 @@ import { FormTemplateBaseComponent } from '@pega/angular-sdk-components';
|
|
|
11
11
|
standalone: true,
|
|
12
12
|
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
13
13
|
})
|
|
14
|
-
export class TwoColumnComponent extends
|
|
14
|
+
export class TwoColumnComponent extends FormTemplateBase implements OnInit, OnChanges {
|
|
15
15
|
@Input() override pConn$: typeof PConnect;
|
|
16
16
|
@Input() formGroup$: FormGroup;
|
|
17
17
|
|
|
@@ -2,7 +2,7 @@ import { Component, OnInit, Input, forwardRef, OnChanges, SimpleChanges } from '
|
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { FormGroup } from '@angular/forms';
|
|
4
4
|
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
5
|
-
import {
|
|
5
|
+
import { FormTemplateBase } from '@pega/angular-sdk-components';
|
|
6
6
|
|
|
7
7
|
@Component({
|
|
8
8
|
selector: 'app-wide-narrow-form',
|
|
@@ -11,7 +11,7 @@ import { FormTemplateBaseComponent } from '@pega/angular-sdk-components';
|
|
|
11
11
|
standalone: true,
|
|
12
12
|
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
13
13
|
})
|
|
14
|
-
export class WideNarrowFormComponent extends
|
|
14
|
+
export class WideNarrowFormComponent extends FormTemplateBase implements OnInit, OnChanges {
|
|
15
15
|
@Input() override pConn$: typeof PConnect;
|
|
16
16
|
@Input() formGroup$: FormGroup;
|
|
17
17
|
|
|
@@ -12,7 +12,7 @@ describe('createAll list and deleteAll local custom', () => {
|
|
|
12
12
|
// console.log(stdout);
|
|
13
13
|
expect(stdout).not.toBeNull();
|
|
14
14
|
expect(stderr).not.toBeNull();
|
|
15
|
-
});
|
|
15
|
+
}, 50000);
|
|
16
16
|
|
|
17
17
|
it('npm run createAll Local custom', async () => {
|
|
18
18
|
const script = `npm run createAll "My" 0.0.1 DXIL "" Pega --prefix ../../..`;
|
|
@@ -42,7 +42,7 @@ describe('createAll list and deleteAll local custom', () => {
|
|
|
42
42
|
// // remove it
|
|
43
43
|
// fs.rmdirSync(fileDir, { recursive: true });
|
|
44
44
|
// }
|
|
45
|
-
},
|
|
45
|
+
}, 900000);
|
|
46
46
|
|
|
47
47
|
it('npm run list Local custom', async () => {
|
|
48
48
|
const script = 'npm run list Local custom --prefix ../../..';
|
|
@@ -77,7 +77,7 @@ describe('createAll list and deleteAll local custom', () => {
|
|
|
77
77
|
expect(stdout).toContain('Pega_DXIL_MyCaseWidget');
|
|
78
78
|
expect(stdout).toContain('Pega_DXIL_MyPageWidget');
|
|
79
79
|
expect(stdout).toContain('Pega_DXIL_MyPageCaseWidget');
|
|
80
|
-
},
|
|
80
|
+
}, 900000);
|
|
81
81
|
|
|
82
82
|
it('compare created to default', async () => {
|
|
83
83
|
const compList = [
|
|
@@ -129,7 +129,7 @@ describe('createAll list and deleteAll local custom', () => {
|
|
|
129
129
|
expect(componentFileData).toEqual(assetFileData);
|
|
130
130
|
});
|
|
131
131
|
});
|
|
132
|
-
},
|
|
132
|
+
}, 900000);
|
|
133
133
|
|
|
134
134
|
it('npm run deleteAll Local custom', async () => {
|
|
135
135
|
const script = `npm run deleteAll Local custom Y --prefix ../../..`;
|
|
@@ -156,5 +156,5 @@ describe('createAll list and deleteAll local custom', () => {
|
|
|
156
156
|
// const createFile = path.resolve('../../..', path.join(`src/components/${newFileName}`, 'index.jsx'));
|
|
157
157
|
// const doesExist = fs.existsSync(createFile);
|
|
158
158
|
// expect(doesExist).not.toBeTruthy();
|
|
159
|
-
},
|
|
159
|
+
}, 900000);
|
|
160
160
|
});
|
|
@@ -12,7 +12,7 @@ describe('overrideAll list and deleteAll local override', () => {
|
|
|
12
12
|
// console.log(stdout);
|
|
13
13
|
expect(stdout).not.toBeNull();
|
|
14
14
|
expect(stderr).not.toBeNull();
|
|
15
|
-
});
|
|
15
|
+
}, 50000);
|
|
16
16
|
|
|
17
17
|
it('npm run overrideAll Local', async () => {
|
|
18
18
|
const script = `npm run overrideAll --prefix ../../..`;
|
|
@@ -42,7 +42,7 @@ describe('overrideAll list and deleteAll local override', () => {
|
|
|
42
42
|
// // remove it
|
|
43
43
|
// fs.rmdirSync(fileDir, { recursive: true });
|
|
44
44
|
// }
|
|
45
|
-
},
|
|
45
|
+
}, 900000);
|
|
46
46
|
|
|
47
47
|
it('npm run list Local override', async () => {
|
|
48
48
|
const script = 'npm run list Local override --prefix ../../..';
|
|
@@ -62,7 +62,7 @@ describe('overrideAll list and deleteAll local override', () => {
|
|
|
62
62
|
expect(stdout).toContain('navbar');
|
|
63
63
|
|
|
64
64
|
// done();
|
|
65
|
-
},
|
|
65
|
+
}, 900000);
|
|
66
66
|
|
|
67
67
|
it('compare created to default', async () => {
|
|
68
68
|
let assetDir;
|
|
@@ -103,7 +103,7 @@ describe('overrideAll list and deleteAll local override', () => {
|
|
|
103
103
|
});
|
|
104
104
|
});
|
|
105
105
|
});
|
|
106
|
-
},
|
|
106
|
+
}, 900000);
|
|
107
107
|
|
|
108
108
|
it('npm run deleteAll Local override', async () => {
|
|
109
109
|
const script = `npm run deleteAll Local override Y --prefix ../../..`;
|
|
@@ -130,5 +130,5 @@ describe('overrideAll list and deleteAll local override', () => {
|
|
|
130
130
|
// const createFile = path.resolve('../../..', path.join(`src/components/${newFileName}`, 'index.jsx'));
|
|
131
131
|
// const doesExist = fs.existsSync(createFile);
|
|
132
132
|
// expect(doesExist).not.toBeTruthy();
|
|
133
|
-
},
|
|
133
|
+
}, 900000);
|
|
134
134
|
});
|
|
@@ -12,7 +12,7 @@ describe('create buildAll and deleteAll local custom', () => {
|
|
|
12
12
|
// console.log(stdout);
|
|
13
13
|
expect(stdout).not.toBeNull();
|
|
14
14
|
expect(stderr).not.toBeNull();
|
|
15
|
-
});
|
|
15
|
+
}, 50000);
|
|
16
16
|
|
|
17
17
|
it('npm run create Local text custom', async () => {
|
|
18
18
|
const fileName = 'MyTestText';
|
|
@@ -138,7 +138,7 @@ describe('create buildAll and deleteAll local custom', () => {
|
|
|
138
138
|
expect(stdout).toContain('Pega_DXIL_MyTestPage');
|
|
139
139
|
expect(stdout).toContain('Pega_DXIL_MyTestDetails');
|
|
140
140
|
// done();
|
|
141
|
-
},
|
|
141
|
+
}, 900000);
|
|
142
142
|
|
|
143
143
|
it('npm run deleteAll Local custom', async () => {
|
|
144
144
|
const script = `npm run deleteAll Local custom Y --prefix ../../..`;
|
|
@@ -12,7 +12,7 @@ describe('create build and delete local custom', () => {
|
|
|
12
12
|
// console.log(stdout);
|
|
13
13
|
expect(stdout).not.toBeNull();
|
|
14
14
|
expect(stderr).not.toBeNull();
|
|
15
|
-
});
|
|
15
|
+
}, 50000);
|
|
16
16
|
|
|
17
17
|
it('npm run create Local custom', async () => {
|
|
18
18
|
const fileName = 'MyTestText';
|
|
@@ -62,7 +62,7 @@ describe('create build and delete local custom', () => {
|
|
|
62
62
|
expect(stdout).toContain(`${newFileNameConstellation} schema is valid`);
|
|
63
63
|
// expect(stdout).toContain('Compiled successfully.');
|
|
64
64
|
// done();
|
|
65
|
-
},
|
|
65
|
+
}, 900000);
|
|
66
66
|
|
|
67
67
|
it('npm run delete Local custom', async () => {
|
|
68
68
|
const fileName = 'MyTestText';
|
|
@@ -12,7 +12,7 @@ describe('create build and delete local override', () => {
|
|
|
12
12
|
// console.log(stdout);
|
|
13
13
|
expect(stdout).not.toBeNull();
|
|
14
14
|
expect(stderr).not.toBeNull();
|
|
15
|
-
});
|
|
15
|
+
}, 50000);
|
|
16
16
|
|
|
17
17
|
it('npm run create Local override', async () => {
|
|
18
18
|
const fileName = 'auto-complete';
|
|
@@ -49,7 +49,7 @@ describe('create build and delete local override', () => {
|
|
|
49
49
|
// expect(stdout).toContain(`${newFileNameConstellation} schema is valid`);
|
|
50
50
|
// expect(stdout).toContain('Compiled successfully.');
|
|
51
51
|
// done();
|
|
52
|
-
},
|
|
52
|
+
}, 900000);
|
|
53
53
|
|
|
54
54
|
it('npm run delete Local override', async () => {
|
|
55
55
|
const fileName = 'auto-complete';
|
|
@@ -12,7 +12,7 @@ describe('create list and delete local override', () => {
|
|
|
12
12
|
// console.log(stdout);
|
|
13
13
|
expect(stdout).not.toBeNull();
|
|
14
14
|
expect(stderr).not.toBeNull();
|
|
15
|
-
});
|
|
15
|
+
}, 50000);
|
|
16
16
|
|
|
17
17
|
it('npm run create Local override', async () => {
|
|
18
18
|
const fileName = 'auto-complete';
|
|
@@ -12,7 +12,7 @@ describe('create mapAll clearMap custom local', () => {
|
|
|
12
12
|
// console.log(stdout);
|
|
13
13
|
expect(stdout).not.toBeNull();
|
|
14
14
|
expect(stderr).not.toBeNull();
|
|
15
|
-
});
|
|
15
|
+
}, 100000);
|
|
16
16
|
|
|
17
17
|
it('npm run create Local text custom', async () => {
|
|
18
18
|
const fileName = 'MyTestText';
|
|
@@ -203,7 +203,7 @@ describe('create mapAll clearMap custom local', () => {
|
|
|
203
203
|
const blankMapData = fs.readFileSync(blankMap, { encoding: 'utf8' });
|
|
204
204
|
|
|
205
205
|
expect(mapDataAng).toEqual(blankMapData);
|
|
206
|
-
},
|
|
206
|
+
}, 100000);
|
|
207
207
|
|
|
208
208
|
it('npm run deleteAll Local verify not in map custom', async () => {
|
|
209
209
|
const script = `npm run deleteAll Local custom Y --prefix ../../..`;
|
|
@@ -12,7 +12,7 @@ describe('create publish and deleteAll local', () => {
|
|
|
12
12
|
// console.log(stdout);
|
|
13
13
|
expect(stdout).not.toBeNull();
|
|
14
14
|
expect(stderr).not.toBeNull();
|
|
15
|
-
});
|
|
15
|
+
}, 50000);
|
|
16
16
|
|
|
17
17
|
it('npm run create Local text custom', async () => {
|
|
18
18
|
const fileName = 'MyTestText';
|
|
@@ -185,7 +185,7 @@ describe('create publish and deleteAll local', () => {
|
|
|
185
185
|
expect(isInMap).toBeTruthy();
|
|
186
186
|
|
|
187
187
|
// done();
|
|
188
|
-
},
|
|
188
|
+
}, 900000);
|
|
189
189
|
|
|
190
190
|
it('npm run deleteAll Local verify not in map custom', async () => {
|
|
191
191
|
const script = `npm run deleteAll Local custom Y --prefix ../../..`;
|
|
@@ -12,7 +12,7 @@ describe('override publish and deleteAll local override', () => {
|
|
|
12
12
|
// console.log(stdout);
|
|
13
13
|
expect(stdout).not.toBeNull();
|
|
14
14
|
expect(stderr).not.toBeNull();
|
|
15
|
-
});
|
|
15
|
+
}, 50000);
|
|
16
16
|
|
|
17
17
|
it('npm run override auto complete override', async () => {
|
|
18
18
|
const fileName = 'auto-complete';
|
|
@@ -133,7 +133,7 @@ describe('override publish and deleteAll local override', () => {
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
expect(isInMap).toBeTruthy();
|
|
136
|
-
},
|
|
136
|
+
}, 900000);
|
|
137
137
|
|
|
138
138
|
it('npm run deleteAll Local override verify removed from map', async () => {
|
|
139
139
|
const script = `npm run deleteAll Local override Y --prefix ../../..`;
|
|
@@ -12,7 +12,7 @@ describe('create publish and delete local custom', () => {
|
|
|
12
12
|
// console.log(stdout);
|
|
13
13
|
expect(stdout).not.toBeNull();
|
|
14
14
|
expect(stderr).not.toBeNull();
|
|
15
|
-
});
|
|
15
|
+
}, 50000);
|
|
16
16
|
|
|
17
17
|
it('npm run create Local custom', async () => {
|
|
18
18
|
const fileName = 'MyTestText';
|
|
@@ -91,7 +91,7 @@ describe('create publish and delete local custom', () => {
|
|
|
91
91
|
expect(isInMap).toBeTruthy();
|
|
92
92
|
|
|
93
93
|
// done();
|
|
94
|
-
},
|
|
94
|
+
}, 900000);
|
|
95
95
|
|
|
96
96
|
it('npm run delete Local custom verify removed from map', async () => {
|
|
97
97
|
const fileName = 'MyTestText';
|
|
@@ -12,7 +12,7 @@ describe('create publish and delete local override', () => {
|
|
|
12
12
|
// console.log(stdout);
|
|
13
13
|
expect(stdout).not.toBeNull();
|
|
14
14
|
expect(stderr).not.toBeNull();
|
|
15
|
-
});
|
|
15
|
+
}, 50000);
|
|
16
16
|
|
|
17
17
|
it('npm run create Local override', async () => {
|
|
18
18
|
const fileName = 'auto-complete';
|
|
@@ -66,7 +66,7 @@ describe('create publish and delete local override', () => {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
expect(isInMap).toBeTruthy();
|
|
69
|
-
},
|
|
69
|
+
}, 900000);
|
|
70
70
|
|
|
71
71
|
it('npm run delete Local override verify removed from map', async () => {
|
|
72
72
|
const fileName = 'auto-complete';
|