@pega/custom-dx-components 0.25.19 → 0.25.21

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.
Files changed (163) hide show
  1. package/package.json +2 -2
  2. package/src/tasks/build-jest-assets/index.js +5 -5
  3. package/src/tasks/create/templates/Constellation/Field/Boolean/create-nonce.ts.mustache +1 -0
  4. package/src/tasks/create/templates/Constellation/Field/Date/create-nonce.ts.mustache +1 -0
  5. package/src/tasks/create/templates/Constellation/Field/Date/date.ts.mustache +0 -24
  6. package/src/tasks/create/templates/Constellation/Field/DateTime/create-nonce.ts.mustache +1 -0
  7. package/src/tasks/create/templates/Constellation/Field/Decimal/create-nonce.ts.mustache +1 -0
  8. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/create-nonce.ts.mustache +1 -0
  9. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/create-nonce.ts.mustache +1 -0
  10. package/src/tasks/create/templates/Constellation/Field/Icon-Button-URL/create-nonce.ts.mustache +1 -0
  11. package/src/tasks/create/templates/Constellation/Field/Integer/create-nonce.ts.mustache +1 -0
  12. package/src/tasks/create/templates/Constellation/Field/Picklist/create-nonce.ts.mustache +1 -0
  13. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/create-nonce.ts.mustache +1 -0
  14. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/repeat-utils.ts.mustache +0 -4
  15. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/create-nonce.ts.mustache +1 -0
  16. package/src/tasks/create/templates/Constellation/Field/Text/create-nonce.ts.mustache +1 -0
  17. package/src/tasks/create/templates/Constellation/Field/Text-Email/create-nonce.ts.mustache +1 -0
  18. package/src/tasks/create/templates/Constellation/Field/Text-Input/create-nonce.ts.mustache +1 -0
  19. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/create-nonce.ts.mustache +1 -0
  20. package/src/tasks/create/templates/Constellation/Field/Text-Phone/create-nonce.ts.mustache +1 -0
  21. package/src/tasks/create/templates/Constellation/Field/Text-URL/create-nonce.ts.mustache +1 -0
  22. package/src/tasks/create/templates/Constellation/Field/TimeofDay/create-nonce.ts.mustache +1 -0
  23. package/src/tasks/create/templates/Constellation/Template/DETAILS/create-nonce.ts.mustache +1 -0
  24. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/create-nonce.ts.mustache +1 -0
  25. package/src/tasks/create/templates/Constellation/Template/FORM/create-nonce.ts.mustache +1 -0
  26. package/src/tasks/create/templates/Constellation/Template/FORM-region/create-nonce.ts.mustache +1 -0
  27. package/src/tasks/create/templates/Constellation/Template/PAGE/create-nonce.ts.mustache +1 -0
  28. package/src/tasks/create/templates/Constellation/Widget/CASE/create-nonce.ts.mustache +1 -0
  29. package/src/tasks/create/templates/Constellation/Widget/PAGE/create-nonce.ts.mustache +1 -0
  30. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/create-nonce.ts.mustache +1 -0
  31. package/src/tasks/create/templates/Launchpad/Field/Icon-Button-URL/create-nonce.ts.mustache +1 -0
  32. package/src/tasks/create/templates/Launchpad/Widget/CASE/create-nonce.ts.mustache +1 -0
  33. package/src/tasks/create/templates/Launchpad/Widget/PAGE/create-nonce.ts.mustache +1 -0
  34. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/create-nonce.ts.mustache +1 -0
  35. package/src/tasks/create-lib/helper.js +6 -2
  36. package/src/tasks/create-lib/index.js +3 -1
  37. package/src/tasks/delete-pub/index.js +3 -1
  38. package/src/tasks/export-archive/index.js +10 -5
  39. package/src/tasks/import-archive/index.js +12 -18
  40. package/src/tasks/init/template/.eslintrc.json +1 -1
  41. package/src/tasks/init/template/package.json.mustache +4 -4
  42. package/src/tasks/list-pub/index.js +15 -7
  43. package/src/tasks/publish-lib/index.js +131 -135
  44. package/src/tasks/restore/index.js +7 -1
  45. package/src/tasks/show-status/index.js +10 -6
  46. package/src/util.js +83 -4
  47. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/config.json +1 -1
  48. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +1 -1
  49. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +1 -1
  50. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/localizations.json +8 -0
  51. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +1 -1
  52. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +1 -1
  53. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +1 -1
  54. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +1 -1
  55. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +1 -1
  56. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +1 -1
  57. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +1 -1
  58. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +1 -1
  59. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/localizations.json +10 -0
  60. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +1 -1
  61. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +1 -1
  62. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +1 -1
  63. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +1 -1
  64. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/localizations.json +10 -0
  65. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +1 -1
  66. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +1 -1
  67. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +1 -1
  68. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +1 -1
  69. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/config.json +1 -1
  70. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +1 -1
  71. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/localizations.json +5 -0
  72. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/config.json +1 -1
  73. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +1 -1
  74. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +1 -1
  75. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +1 -1
  76. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +1 -1
  77. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +1 -1
  78. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/create-nonce.ts +1 -0
  79. package/tests/assets/original/components/create/shared/PConnProps.d.ts +46 -0
  80. package/tests/assets/original/components/create/shared/create-nonce.ts +7 -0
  81. package/tests/assets/original/components/create/shared/suggestions-handler.ts +9 -0
  82. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/create-nonce.ts +1 -0
  83. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/create-nonce.ts +1 -0
  84. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/localizations.json +8 -0
  85. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/create-nonce.ts +1 -0
  86. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/create-nonce.ts +1 -0
  87. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/date.ts +0 -24
  88. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/create-nonce.ts +1 -0
  89. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/create-nonce.ts +1 -0
  90. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/create-nonce.ts +1 -0
  91. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/create-nonce.ts +1 -0
  92. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/create-nonce.ts +1 -0
  93. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/create-nonce.ts +1 -0
  94. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/localizations.json +10 -0
  95. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/create-nonce.ts +1 -0
  96. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/create-nonce.ts +1 -0
  97. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +1 -0
  98. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/create-nonce.ts +1 -0
  99. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/localizations.json +10 -0
  100. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/create-nonce.ts +1 -0
  101. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/create-nonce.ts +1 -0
  102. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/create-nonce.ts +1 -0
  103. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/create-nonce.ts +1 -0
  104. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/create-nonce.ts +1 -0
  105. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/create-nonce.ts +1 -0
  106. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/localizations.json +5 -0
  107. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/repeat-utils.ts +0 -4
  108. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/create-nonce.ts +1 -0
  109. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/create-nonce.ts +1 -0
  110. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/create-nonce.ts +1 -0
  111. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +1 -0
  112. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +1 -0
  113. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/create-nonce.ts +1 -0
  114. package/tests/assets/original/components/createAll/Constellation/shared/PConnProps.d.ts +46 -0
  115. package/tests/assets/original/components/createAll/Constellation/shared/create-nonce.ts +7 -0
  116. package/tests/assets/original/components/createAll/Constellation/shared/suggestions-handler.ts +9 -0
  117. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/create-nonce.ts +1 -0
  118. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/create-nonce.ts +1 -0
  119. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/create-nonce.ts +1 -0
  120. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/create-nonce.ts +1 -0
  121. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/date.ts +0 -24
  122. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/create-nonce.ts +1 -0
  123. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/create-nonce.ts +1 -0
  124. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/create-nonce.ts +1 -0
  125. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/create-nonce.ts +1 -0
  126. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/create-nonce.ts +1 -0
  127. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/create-nonce.ts +1 -0
  128. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/create-nonce.ts +1 -0
  129. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/create-nonce.ts +1 -0
  130. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +1 -0
  131. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/create-nonce.ts +1 -0
  132. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/create-nonce.ts +1 -0
  133. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/create-nonce.ts +1 -0
  134. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/create-nonce.ts +1 -0
  135. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/create-nonce.ts +1 -0
  136. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/create-nonce.ts +1 -0
  137. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/create-nonce.ts +1 -0
  138. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/localizations.json +5 -0
  139. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/repeat-utils.ts +0 -4
  140. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/create-nonce.ts +1 -0
  141. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/create-nonce.ts +1 -0
  142. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/create-nonce.ts +1 -0
  143. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +1 -0
  144. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +1 -0
  145. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/create-nonce.ts +1 -0
  146. package/tests/assets/original/components/createAll/Launchpad/shared/PConnProps.d.ts +46 -0
  147. package/tests/assets/original/components/createAll/Launchpad/shared/create-nonce.ts +7 -0
  148. package/tests/assets/original/components/createAll/Launchpad/shared/suggestions-handler.ts +9 -0
  149. package/tests/functional/localCreateAllListDeleteAll.test.js +8 -8
  150. package/tests/functional/localLibCreateLibAlreadyDeleteLib.test.js +14 -14
  151. package/tests/functional/localLibCreateLibBuildLibDeleteLib.test.js +17 -17
  152. package/tests/functional/localLibCreateLibBuildLibListPubDeleteLib.test.js +20 -20
  153. package/tests/functional/localLibCreateLibDeleteLib.test.js +17 -17
  154. package/tests/functional/localLibCreateLibExportImportLib.test.js +27 -27
  155. package/tests/functional/localLibCreateLibExportLib.test.js +19 -19
  156. package/tests/functional/localLibCreateLibImportCompDeleteLib.test.js +14 -14
  157. package/tests/functional/localLibCreateLibListDeleteLib.test.js +22 -22
  158. package/tests/functional/localLibCreateLibListMoveDeleteLib.test.js +31 -31
  159. package/tests/functional/localLibCreateLibListSwitchDeleteLib.test.js +20 -20
  160. package/tests/functional/localLibCreateLibStatusDeleteLib.test.js +13 -29
  161. package/tests/functional/localLibCreateLibValidateDeleteLib.test.js +15 -15
  162. package/tests/functional/localLibCreateLibVersionDeleteLib.test.js +27 -27
  163. package/tests/functional/localLibCreateLibPermDeleteLib.test.js +0 -144
@@ -1,144 +0,0 @@
1
- // import { exec } from 'child_process';
2
- const path = require('path');
3
- const fs = require('fs');
4
- const util = require('node:util');
5
- const exec = util.promisify(require('node:child_process').exec);
6
-
7
- const tasksConfigDir = path.resolve('../../..', 'tasks.config.json');
8
- const tasksConfigData = fs.readFileSync(tasksConfigDir, { encoding: 'utf8' });
9
- let tasksConfigJSON = JSON.parse(tasksConfigData);
10
-
11
- const packageJSONDir = path.resolve('../../..', 'package.json');
12
- const packageJSONData = fs.readFileSync(packageJSONDir, { encoding: 'utf8'});
13
- let packageJSON = JSON.parse(packageJSONData);
14
-
15
- let isLibraryBased = tasksConfigJSON['libraryMode'];
16
- const savedLibraryBased = isLibraryBased;
17
- const savedOrganization = packageJSON.organization;
18
-
19
- const serverType = tasksConfigJSON['server-config'].serverType;
20
- const serverDir = serverType === 'launchpad' ? 'Launchpad' : 'Constellation';
21
- let compType = isLibraryBased ? "library" : "original";
22
-
23
-
24
- describe(`createLib setPerm setNotPerm deleteLib: ${serverDir} - ${compType}` , () => {
25
-
26
- beforeAll( async() => {
27
-
28
- // make libraryBased
29
- isLibraryBased = true;
30
- tasksConfigJSON['libraryMode'] = isLibraryBased;
31
- compType = isLibraryBased ? "library" : "original";
32
- fs.writeFileSync(tasksConfigDir, JSON.stringify(tasksConfigJSON, null, 4), { encoding: 'utf8' });
33
-
34
- const storeDir = path.join(path.resolve('../../..'), 'store');
35
- if (fs.existsSync(storeDir)) {
36
- fs.rmSync(storeDir, { recursive: true, force: true, maxRetries: 2 });
37
- }
38
-
39
- // make organzation Pega
40
- packageJSON.organization = "Pega";
41
- fs.writeFileSync(packageJSONDir, JSON.stringify(packageJSON, null, 4), { encoding: 'utf8' });
42
-
43
-
44
- const componentsDir = path.join(path.resolve('../../..'), 'src/components');
45
- if (fs.existsSync(componentsDir)) {
46
- fs.rmSync(componentsDir, { recursive: true, force: true, maxRetries: 2 });
47
- fs.mkdirSync(componentsDir, { recursive: true });
48
- }
49
-
50
- await new Promise((r) => setTimeout(r, 2000));
51
-
52
- });
53
-
54
- afterAll( async() => {
55
-
56
- //restore
57
- isLibraryBased = savedLibraryBased
58
- tasksConfigJSON['libraryMode'] = isLibraryBased;
59
-
60
- fs.writeFileSync(tasksConfigDir, JSON.stringify(tasksConfigJSON, null, 4), { encoding: 'utf8' });
61
-
62
- // return organzation
63
- packageJSON.organization = savedOrganization;
64
- fs.writeFileSync(packageJSONDir, JSON.stringify(packageJSON, null, 4), { encoding: 'utf8' });
65
-
66
- const componentsDir = path.join(path.resolve('../../..'), 'src/components');
67
- if (fs.existsSync(componentsDir)) {
68
- fs.rmSync(componentsDir, { recursive: true, force: true, maxRetries: 2 });
69
- fs.mkdirSync(componentsDir, { recursive: true });
70
- }
71
-
72
- const storeDir = path.join(path.resolve('../../..'), 'store');
73
- if (fs.existsSync(storeDir)) {
74
- fs.rmSync(storeDir, { recursive: true, force: true, maxRetries: 2 });
75
- }
76
-
77
- await new Promise((r) => setTimeout(r, 2000));
78
-
79
- });
80
-
81
-
82
- it(`npm run createLib - ${isLibraryBased}`, async() => {
83
-
84
- const script = `npm run createLib DXIL 0.0.1 N Original --prefix ../../..`;
85
- const compConf = path.join("store", "Pega_DXIL","0.0.1-dev", "componentsconfig.json");
86
-
87
- const { stdout, stderr } = await exec(script);
88
- expect(stdout).toContain('Library Pega_DXIL/0.0.1-dev has been created!');
89
-
90
- const doesExist = fs.existsSync(path.resolve('../../..', compConf));
91
-
92
- expect(doesExist).toBeTruthy();
93
-
94
- }, 30000);
95
-
96
- it(`npm run setPerm (Y) - ${isLibraryBased}`, async() => {
97
-
98
- const script = `npm run setPermanent Y --prefix ../../..`;
99
- const { stdout, stderr } = await exec(script);
100
-
101
- expect(stdout).toContain('Organization:');
102
- expect(stdout).toContain('Pega');
103
- expect(stdout).toContain('Library:');
104
- expect(stdout).toContain('DXIL');
105
- expect(stdout).toContain('Version:');
106
- expect(stdout).toContain('0.0.1');
107
- expect(stdout).toContain('Permanent:');
108
- expect(stdout).toContain('true');
109
- expect(stdout).toContain('Component count:');
110
- expect(stdout).toContain('0');
111
-
112
- }, 30000);
113
-
114
- it(`npm run setPerm (N) - ${isLibraryBased}`, async() => {
115
-
116
- const script = `npm run setPermanent N --prefix ../../..`;
117
- const { stdout, stderr } = await exec(script);
118
-
119
- expect(stdout).toContain('Organization:');
120
- expect(stdout).toContain('Pega');
121
- expect(stdout).toContain('Library:');
122
- expect(stdout).toContain('DXIL');
123
- expect(stdout).toContain('Version:');
124
- expect(stdout).toContain('0.0.1-dev');
125
- expect(stdout).toContain('Permanent:');
126
- expect(stdout).toContain('false');
127
- expect(stdout).toContain('Component count:');
128
- expect(stdout).toContain('0');
129
-
130
- }, 30000);
131
-
132
-
133
- it(`npm run deleteLib- ${isLibraryBased}`, async() => {
134
-
135
- const script = `npm run deleteLib Pega_DXIL 0.0.1-dev Y --prefix ../../..`;
136
- const { stdout, stderr } = await exec(script);
137
-
138
- expect(stdout).toContain('Pega_DXIL is deleted from Local.');
139
-
140
-
141
- }, 30000);
142
-
143
-
144
- });