testeranto 0.80.0 → 0.81.1
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/.aider.chat.history.md +980 -0
- package/.aider.input.history +87 -0
- package/.aider.tags.cache.v3/1c/30/af1de2ad7a137afeddb1b01e0c27.val +0 -0
- package/.aider.tags.cache.v3/1d/63/88318b65ce58b6bb0487e8ce2656.val +0 -0
- package/.aider.tags.cache.v3/2e/67/16ae65530b40038e48e00d666c63.val +0 -0
- package/.aider.tags.cache.v3/6f/94/80488a232866fcce7ee657da488b.val +0 -0
- package/.aider.tags.cache.v3/cache.db +0 -0
- package/.gitattributes +1 -0
- package/README.md +10 -6
- package/dist/common/src/Aider.js +116 -69
- package/dist/common/src/PM/main.js +49 -46
- package/dist/common/src/PM/node.js +1 -1
- package/dist/common/src/Project.js +46 -38
- package/dist/common/src/Puppeteer.js +44 -37
- package/dist/common/src/SubPackages/react-test-renderer/jsx/index.js +17 -2
- package/dist/common/src/esbuildConfigs/inputFilesPlugin.js +39 -12
- package/dist/common/src/esbuildConfigs/web.js +3 -3
- package/dist/common/src/lib/abstractBase.js +41 -13
- package/dist/common/src/lib/basebuilder.js +6 -3
- package/dist/common/src/lib/core.js +47 -3
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/src/Aider.js +116 -69
- package/dist/module/src/PM/main.js +49 -46
- package/dist/module/src/PM/node.js +1 -1
- package/dist/module/src/Project.js +46 -38
- package/dist/module/src/Puppeteer.js +44 -37
- package/dist/module/src/SubPackages/react-test-renderer/jsx/index.js +17 -2
- package/dist/module/src/esbuildConfigs/inputFilesPlugin.js +39 -12
- package/dist/module/src/esbuildConfigs/web.js +3 -3
- package/dist/module/src/lib/abstractBase.js +41 -13
- package/dist/module/src/lib/basebuilder.js +6 -3
- package/dist/module/src/lib/core.js +47 -3
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/src/PM/main.d.ts +7 -1
- package/dist/types/src/Project.d.ts +6 -1
- package/dist/types/src/lib/abstractBase.d.ts +1 -0
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +11 -15
- package/secret +1 -0
- package/secret.env +2 -0
- package/src/Aider.ts +140 -97
- package/src/PM/main.ts +60 -56
- package/src/PM/node.ts +1 -1
- package/src/Project.ts +55 -48
- package/src/Puppeteer.ts +56 -49
- package/src/SubPackages/react-test-renderer/jsx/index.ts +25 -2
- package/src/esbuildConfigs/inputFilesPlugin.ts +77 -32
- package/src/esbuildConfigs/web.ts +3 -3
- package/src/lib/abstractBase.ts +48 -17
- package/src/lib/basebuilder.ts +8 -3
- package/src/lib/core.ts +55 -13
package/src/lib/core.ts
CHANGED
|
@@ -142,12 +142,30 @@ export default abstract class Testeranto<
|
|
|
142
142
|
|
|
143
143
|
class When extends BaseWhen<ITestShape> {
|
|
144
144
|
async andWhen(store, whenCB, testResource, pm) {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
145
|
+
try {
|
|
146
|
+
return await fullTestInterface.andWhen(
|
|
147
|
+
store,
|
|
148
|
+
whenCB,
|
|
149
|
+
testResource,
|
|
150
|
+
pm
|
|
151
|
+
);
|
|
152
|
+
} catch (e) {
|
|
153
|
+
throw e;
|
|
154
|
+
}
|
|
155
|
+
// return fullTestInterface
|
|
156
|
+
// .andWhen(store, whenCB, testResource, pm)
|
|
157
|
+
// .catch((e) => {
|
|
158
|
+
// throw e;
|
|
159
|
+
// });
|
|
160
|
+
// return new Promise((res, rej) => {
|
|
161
|
+
// fullTestInterface.andWhen(store, whenCB, testResource, pm);
|
|
162
|
+
// });
|
|
163
|
+
// return await fullTestInterface.andWhen(
|
|
164
|
+
// store,
|
|
165
|
+
// whenCB,
|
|
166
|
+
// testResource,
|
|
167
|
+
// pm
|
|
168
|
+
// );
|
|
151
169
|
}
|
|
152
170
|
} as any,
|
|
153
171
|
|
|
@@ -155,15 +173,39 @@ export default abstract class Testeranto<
|
|
|
155
173
|
async butThen(
|
|
156
174
|
store: any,
|
|
157
175
|
thenCB,
|
|
158
|
-
|
|
176
|
+
testResource: any,
|
|
159
177
|
pm: PM
|
|
160
178
|
): Promise<ITestShape["iselection"]> {
|
|
161
|
-
return
|
|
162
|
-
store,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
179
|
+
return fullTestInterface
|
|
180
|
+
.butThen(store, thenCB, testResource, pm)
|
|
181
|
+
.then(
|
|
182
|
+
(v) => {
|
|
183
|
+
return v;
|
|
184
|
+
},
|
|
185
|
+
(e) => {
|
|
186
|
+
console.log(" ERROR ", e);
|
|
187
|
+
throw e;
|
|
188
|
+
}
|
|
189
|
+
);
|
|
190
|
+
// try {
|
|
191
|
+
// console.log("mark 4");
|
|
192
|
+
// return await fullTestInterface.butThen(
|
|
193
|
+
// store,
|
|
194
|
+
// thenCB,
|
|
195
|
+
// testResource,
|
|
196
|
+
// pm
|
|
197
|
+
// );
|
|
198
|
+
// } catch (e) {
|
|
199
|
+
// console.log("mar123");
|
|
200
|
+
// throw e;
|
|
201
|
+
// }
|
|
202
|
+
|
|
203
|
+
// return await fullTestInterface.butThen(
|
|
204
|
+
// store,
|
|
205
|
+
// thenCB,
|
|
206
|
+
// testResourceConfiguration,
|
|
207
|
+
// pm
|
|
208
|
+
// );
|
|
167
209
|
}
|
|
168
210
|
} as any,
|
|
169
211
|
|