Skip to content

Commit 3300209

Browse files
committed
fix: e2e testing file location correction
1 parent 1cfc9a8 commit 3300209

File tree

5 files changed

+194
-452
lines changed

5 files changed

+194
-452
lines changed

jest-stare/index.html

Lines changed: 95 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -154,21 +154,21 @@ <h2>Snapshots</h2>
154154
&quot;unmatched&quot;: 0,
155155
&quot;updated&quot;: 0
156156
},
157-
&quot;startTime&quot;: 1747823833511,
157+
&quot;startTime&quot;: 1747846429942,
158158
&quot;success&quot;: false,
159159
&quot;testResults&quot;: [
160160
{
161161
&quot;leaks&quot;: false,
162162
&quot;numFailingTests&quot;: 0,
163-
&quot;numPassingTests&quot;: 4,
163+
&quot;numPassingTests&quot;: 7,
164164
&quot;numPendingTests&quot;: 0,
165165
&quot;numTodoTests&quot;: 0,
166166
&quot;openHandles&quot;: [],
167167
&quot;perfStats&quot;: {
168-
&quot;end&quot;: 1747823837103,
169-
&quot;runtime&quot;: 3007,
168+
&quot;end&quot;: 1747846435233,
169+
&quot;runtime&quot;: 4662,
170170
&quot;slow&quot;: false,
171-
&quot;start&quot;: 1747823834096
171+
&quot;start&quot;: 1747846430571
172172
},
173173
&quot;skipped&quot;: false,
174174
&quot;snapshot&quot;: {
@@ -180,211 +180,211 @@ <h2>Snapshots</h2>
180180
&quot;unmatched&quot;: 0,
181181
&quot;updated&quot;: 0
182182
},
183-
&quot;testFilePath&quot;: &quot;D:\\Github_profile\\SmartEduHub-Repo\\NotifyLog\\test\\notification\\notification.controller.spec.ts&quot;,
183+
&quot;testFilePath&quot;: &quot;D:\\Github_profile\\SmartEduHub-Repo\\NotifyLog\\src\\notification\\presentation\\controllers\\log.controller.spec.ts&quot;,
184184
&quot;testResults&quot;: [
185185
{
186186
&quot;ancestorTitles&quot;: [
187-
&quot;NotificationController&quot;,
188-
&quot;send&quot;
187+
&quot;LogController&quot;,
188+
&quot;getLogs&quot;
189189
],
190-
&quot;duration&quot;: 25,
190+
&quot;duration&quot;: 35,
191191
&quot;failureDetails&quot;: [],
192192
&quot;failureMessages&quot;: [],
193-
&quot;fullName&quot;: &quot;NotificationController send should send notification and log successfully&quot;,
193+
&quot;fullName&quot;: &quot;LogController getLogs should return logs with default pagination&quot;,
194194
&quot;invocations&quot;: 1,
195195
&quot;location&quot;: null,
196-
&quot;numPassingAsserts&quot;: 3,
196+
&quot;numPassingAsserts&quot;: 2,
197197
&quot;retryReasons&quot;: [],
198198
&quot;status&quot;: &quot;passed&quot;,
199-
&quot;title&quot;: &quot;should send notification and log successfully&quot;
199+
&quot;title&quot;: &quot;should return logs with default pagination&quot;
200200
},
201201
{
202202
&quot;ancestorTitles&quot;: [
203-
&quot;NotificationController&quot;,
204-
&quot;send&quot;
203+
&quot;LogController&quot;,
204+
&quot;getLogById&quot;
205205
],
206-
&quot;duration&quot;: 9,
206+
&quot;duration&quot;: 3,
207207
&quot;failureDetails&quot;: [],
208208
&quot;failureMessages&quot;: [],
209-
&quot;fullName&quot;: &quot;NotificationController send should throw error if strategy send fails&quot;,
209+
&quot;fullName&quot;: &quot;LogController getLogById should return a log by ID&quot;,
210210
&quot;invocations&quot;: 1,
211211
&quot;location&quot;: null,
212212
&quot;numPassingAsserts&quot;: 1,
213213
&quot;retryReasons&quot;: [],
214214
&quot;status&quot;: &quot;passed&quot;,
215-
&quot;title&quot;: &quot;should throw error if strategy send fails&quot;
215+
&quot;title&quot;: &quot;should return a log by ID&quot;
216216
},
217217
{
218218
&quot;ancestorTitles&quot;: [
219-
&quot;NotificationController&quot;,
220-
&quot;getNotificationHistory&quot;
219+
&quot;LogController&quot;,
220+
&quot;getLogById&quot;
221221
],
222-
&quot;duration&quot;: 3,
222+
&quot;duration&quot;: 12,
223223
&quot;failureDetails&quot;: [],
224224
&quot;failureMessages&quot;: [],
225-
&quot;fullName&quot;: &quot;NotificationController getNotificationHistory should return notification history with default pagination&quot;,
225+
&quot;fullName&quot;: &quot;LogController getLogById should throw NotFoundException if log not found&quot;,
226226
&quot;invocations&quot;: 1,
227227
&quot;location&quot;: null,
228228
&quot;numPassingAsserts&quot;: 2,
229229
&quot;retryReasons&quot;: [],
230230
&quot;status&quot;: &quot;passed&quot;,
231-
&quot;title&quot;: &quot;should return notification history with default pagination&quot;
231+
&quot;title&quot;: &quot;should throw NotFoundException if log not found&quot;
232232
},
233233
{
234234
&quot;ancestorTitles&quot;: [
235-
&quot;NotificationController&quot;,
236-
&quot;getNotificationHistory&quot;
235+
&quot;LogController&quot;,
236+
&quot;deleteLogById&quot;
237237
],
238-
&quot;duration&quot;: 2,
238+
&quot;duration&quot;: 1,
239239
&quot;failureDetails&quot;: [],
240240
&quot;failureMessages&quot;: [],
241-
&quot;fullName&quot;: &quot;NotificationController getNotificationHistory should handle custom pagination&quot;,
241+
&quot;fullName&quot;: &quot;LogController deleteLogById should delete a log by ID&quot;,
242242
&quot;invocations&quot;: 1,
243243
&quot;location&quot;: null,
244-
&quot;numPassingAsserts&quot;: 2,
244+
&quot;numPassingAsserts&quot;: 0,
245245
&quot;retryReasons&quot;: [],
246246
&quot;status&quot;: &quot;passed&quot;,
247-
&quot;title&quot;: &quot;should handle custom pagination&quot;
248-
}
249-
],
250-
&quot;failureMessage&quot;: null
251-
},
252-
{
253-
&quot;leaks&quot;: false,
254-
&quot;numFailingTests&quot;: 0,
255-
&quot;numPassingTests&quot;: 7,
256-
&quot;numPendingTests&quot;: 0,
257-
&quot;numTodoTests&quot;: 0,
258-
&quot;openHandles&quot;: [],
259-
&quot;perfStats&quot;: {
260-
&quot;end&quot;: 1747823837871,
261-
&quot;runtime&quot;: 3777,
262-
&quot;slow&quot;: false,
263-
&quot;start&quot;: 1747823834094
264-
},
265-
&quot;skipped&quot;: false,
266-
&quot;snapshot&quot;: {
267-
&quot;added&quot;: 0,
268-
&quot;fileDeleted&quot;: false,
269-
&quot;matched&quot;: 0,
270-
&quot;unchecked&quot;: 0,
271-
&quot;uncheckedKeys&quot;: [],
272-
&quot;unmatched&quot;: 0,
273-
&quot;updated&quot;: 0
274-
},
275-
&quot;testFilePath&quot;: &quot;D:\\Github_profile\\SmartEduHub-Repo\\NotifyLog\\test\\logger\\log.controller.spec.ts&quot;,
276-
&quot;testResults&quot;: [
247+
&quot;title&quot;: &quot;should delete a log by ID&quot;
248+
},
277249
{
278250
&quot;ancestorTitles&quot;: [
279251
&quot;LogController&quot;,
280-
&quot;getLogs&quot;
252+
&quot;deleteLogById&quot;
281253
],
282-
&quot;duration&quot;: 13,
254+
&quot;duration&quot;: 3,
283255
&quot;failureDetails&quot;: [],
284256
&quot;failureMessages&quot;: [],
285-
&quot;fullName&quot;: &quot;LogController getLogs should return logs with default pagination&quot;,
257+
&quot;fullName&quot;: &quot;LogController deleteLogById should throw NotFoundException if log not found&quot;,
286258
&quot;invocations&quot;: 1,
287259
&quot;location&quot;: null,
288-
&quot;numPassingAsserts&quot;: 2,
260+
&quot;numPassingAsserts&quot;: 1,
289261
&quot;retryReasons&quot;: [],
290262
&quot;status&quot;: &quot;passed&quot;,
291-
&quot;title&quot;: &quot;should return logs with default pagination&quot;
263+
&quot;title&quot;: &quot;should throw NotFoundException if log not found&quot;
292264
},
293265
{
294266
&quot;ancestorTitles&quot;: [
295267
&quot;LogController&quot;,
296-
&quot;getLogById&quot;
268+
&quot;getLogStats&quot;
297269
],
298270
&quot;duration&quot;: 2,
299271
&quot;failureDetails&quot;: [],
300272
&quot;failureMessages&quot;: [],
301-
&quot;fullName&quot;: &quot;LogController getLogById should return a log by ID&quot;,
273+
&quot;fullName&quot;: &quot;LogController getLogStats should return log statistics&quot;,
302274
&quot;invocations&quot;: 1,
303275
&quot;location&quot;: null,
304276
&quot;numPassingAsserts&quot;: 1,
305277
&quot;retryReasons&quot;: [],
306278
&quot;status&quot;: &quot;passed&quot;,
307-
&quot;title&quot;: &quot;should return a log by ID&quot;
279+
&quot;title&quot;: &quot;should return log statistics&quot;
308280
},
309281
{
310282
&quot;ancestorTitles&quot;: [
311283
&quot;LogController&quot;,
312-
&quot;getLogById&quot;
284+
&quot;getLogStats&quot;
313285
],
314-
&quot;duration&quot;: 8,
286+
&quot;duration&quot;: 2,
315287
&quot;failureDetails&quot;: [],
316288
&quot;failureMessages&quot;: [],
317-
&quot;fullName&quot;: &quot;LogController getLogById should throw NotFoundException if log not found&quot;,
289+
&quot;fullName&quot;: &quot;LogController getLogStats should return stats without filters&quot;,
318290
&quot;invocations&quot;: 1,
319291
&quot;location&quot;: null,
320-
&quot;numPassingAsserts&quot;: 2,
292+
&quot;numPassingAsserts&quot;: 1,
321293
&quot;retryReasons&quot;: [],
322294
&quot;status&quot;: &quot;passed&quot;,
323-
&quot;title&quot;: &quot;should throw NotFoundException if log not found&quot;
324-
},
295+
&quot;title&quot;: &quot;should return stats without filters&quot;
296+
}
297+
],
298+
&quot;failureMessage&quot;: null
299+
},
300+
{
301+
&quot;leaks&quot;: false,
302+
&quot;numFailingTests&quot;: 0,
303+
&quot;numPassingTests&quot;: 4,
304+
&quot;numPendingTests&quot;: 0,
305+
&quot;numTodoTests&quot;: 0,
306+
&quot;openHandles&quot;: [],
307+
&quot;perfStats&quot;: {
308+
&quot;end&quot;: 1747846435444,
309+
&quot;runtime&quot;: 4875,
310+
&quot;slow&quot;: false,
311+
&quot;start&quot;: 1747846430569
312+
},
313+
&quot;skipped&quot;: false,
314+
&quot;snapshot&quot;: {
315+
&quot;added&quot;: 0,
316+
&quot;fileDeleted&quot;: false,
317+
&quot;matched&quot;: 0,
318+
&quot;unchecked&quot;: 0,
319+
&quot;uncheckedKeys&quot;: [],
320+
&quot;unmatched&quot;: 0,
321+
&quot;updated&quot;: 0
322+
},
323+
&quot;testFilePath&quot;: &quot;D:\\Github_profile\\SmartEduHub-Repo\\NotifyLog\\src\\notification\\presentation\\controllers\\notification.controller.spec.ts&quot;,
324+
&quot;testResults&quot;: [
325325
{
326326
&quot;ancestorTitles&quot;: [
327-
&quot;LogController&quot;,
328-
&quot;deleteLogById&quot;
327+
&quot;NotificationController&quot;,
328+
&quot;send&quot;
329329
],
330-
&quot;duration&quot;: 1,
330+
&quot;duration&quot;: 30,
331331
&quot;failureDetails&quot;: [],
332332
&quot;failureMessages&quot;: [],
333-
&quot;fullName&quot;: &quot;LogController deleteLogById should delete a log by ID&quot;,
333+
&quot;fullName&quot;: &quot;NotificationController send should send notification and log successfully&quot;,
334334
&quot;invocations&quot;: 1,
335335
&quot;location&quot;: null,
336-
&quot;numPassingAsserts&quot;: 0,
336+
&quot;numPassingAsserts&quot;: 3,
337337
&quot;retryReasons&quot;: [],
338338
&quot;status&quot;: &quot;passed&quot;,
339-
&quot;title&quot;: &quot;should delete a log by ID&quot;
339+
&quot;title&quot;: &quot;should send notification and log successfully&quot;
340340
},
341341
{
342342
&quot;ancestorTitles&quot;: [
343-
&quot;LogController&quot;,
344-
&quot;deleteLogById&quot;
343+
&quot;NotificationController&quot;,
344+
&quot;send&quot;
345345
],
346-
&quot;duration&quot;: 2,
346+
&quot;duration&quot;: 8,
347347
&quot;failureDetails&quot;: [],
348348
&quot;failureMessages&quot;: [],
349-
&quot;fullName&quot;: &quot;LogController deleteLogById should throw NotFoundException if log not found&quot;,
349+
&quot;fullName&quot;: &quot;NotificationController send should throw error if strategy send fails&quot;,
350350
&quot;invocations&quot;: 1,
351351
&quot;location&quot;: null,
352352
&quot;numPassingAsserts&quot;: 1,
353353
&quot;retryReasons&quot;: [],
354354
&quot;status&quot;: &quot;passed&quot;,
355-
&quot;title&quot;: &quot;should throw NotFoundException if log not found&quot;
355+
&quot;title&quot;: &quot;should throw error if strategy send fails&quot;
356356
},
357357
{
358358
&quot;ancestorTitles&quot;: [
359-
&quot;LogController&quot;,
360-
&quot;getLogStats&quot;
359+
&quot;NotificationController&quot;,
360+
&quot;getNotificationHistory&quot;
361361
],
362-
&quot;duration&quot;: 1,
362+
&quot;duration&quot;: 2,
363363
&quot;failureDetails&quot;: [],
364364
&quot;failureMessages&quot;: [],
365-
&quot;fullName&quot;: &quot;LogController getLogStats should return log statistics&quot;,
365+
&quot;fullName&quot;: &quot;NotificationController getNotificationHistory should return notification history with default pagination&quot;,
366366
&quot;invocations&quot;: 1,
367367
&quot;location&quot;: null,
368-
&quot;numPassingAsserts&quot;: 1,
368+
&quot;numPassingAsserts&quot;: 2,
369369
&quot;retryReasons&quot;: [],
370370
&quot;status&quot;: &quot;passed&quot;,
371-
&quot;title&quot;: &quot;should return log statistics&quot;
371+
&quot;title&quot;: &quot;should return notification history with default pagination&quot;
372372
},
373373
{
374374
&quot;ancestorTitles&quot;: [
375-
&quot;LogController&quot;,
376-
&quot;getLogStats&quot;
375+
&quot;NotificationController&quot;,
376+
&quot;getNotificationHistory&quot;
377377
],
378-
&quot;duration&quot;: 1,
378+
&quot;duration&quot;: 2,
379379
&quot;failureDetails&quot;: [],
380380
&quot;failureMessages&quot;: [],
381-
&quot;fullName&quot;: &quot;LogController getLogStats should return stats without filters&quot;,
381+
&quot;fullName&quot;: &quot;NotificationController getNotificationHistory should handle custom pagination&quot;,
382382
&quot;invocations&quot;: 1,
383383
&quot;location&quot;: null,
384-
&quot;numPassingAsserts&quot;: 1,
384+
&quot;numPassingAsserts&quot;: 2,
385385
&quot;retryReasons&quot;: [],
386386
&quot;status&quot;: &quot;passed&quot;,
387-
&quot;title&quot;: &quot;should return stats without filters&quot;
387+
&quot;title&quot;: &quot;should handle custom pagination&quot;
388388
}
389389
],
390390
&quot;failureMessage&quot;: null
@@ -450,7 +450,7 @@ <h2>Snapshots</h2>
450450
],
451451
&quot;rootDir&quot;: &quot;D:\\Github_profile\\SmartEduHub-Repo\\NotifyLog&quot;,
452452
&quot;runTestsByPath&quot;: false,
453-
&quot;seed&quot;: 481651347,
453+
&quot;seed&quot;: 1078277408,
454454
&quot;skipFilter&quot;: false,
455455
&quot;snapshotFormat&quot;: {
456456
&quot;escapeString&quot;: false,

0 commit comments

Comments
 (0)