File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 55
55
if : success() || failure()
56
56
with :
57
57
name : Jest Tests
58
- path : reports/ jest-*.xml
58
+ path : jest-*.xml
59
59
reporter : jest-junit
60
60
61
61
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <testsuites name =" jest tests" tests =" 10" failures =" 0" errors =" 0" time =" 27.424" >
3
+ <testsuite name =" tests\dal\DIListItemProvider.test.ts" errors =" 0" failures =" 0" skipped =" 0" timestamp =" 2024-07-16T20:11:27" time =" 14.99" tests =" 2" >
4
+ <testcase classname =" DIListItemProvider" name =" Should call the correct URL when calling getById" time =" 0.123" >
5
+ </testcase >
6
+ <testcase classname =" DIListItemProvider" name =" Should call the correct URL when calling getListItems" time =" 0.003" >
7
+ </testcase >
8
+ </testsuite >
9
+ <testsuite name =" tests\manager\ItemsWithAuthorDetailsManager.test.ts" errors =" 0" failures =" 0" skipped =" 0" timestamp =" 2024-07-16T20:11:27" time =" 15.133" tests =" 1" >
10
+ <testcase classname =" ItemsWithAuthorDetailsManager" name =" should get users" time =" 0.068" >
11
+ </testcase >
12
+ </testsuite >
13
+ <testsuite name =" tests\dal\SPContextListItemProvider.test.ts" errors =" 0" failures =" 0" skipped =" 0" timestamp =" 2024-07-16T20:11:27" time =" 15.24" tests =" 2" >
14
+ <testcase classname =" SPContextListItemProvider" name =" Should call the correct URL when calling getListItems" time =" 0.054" >
15
+ </testcase >
16
+ <testcase classname =" SPContextListItemProvider" name =" Should call the correct URL when calling getById" time =" 0.002" >
17
+ </testcase >
18
+ </testsuite >
19
+ <testsuite name =" tests\dal\PnPListItemProvider.test.ts" errors =" 0" failures =" 0" skipped =" 0" timestamp =" 2024-07-16T20:11:27" time =" 15.364" tests =" 2" >
20
+ <testcase classname =" PnPListItemProvider" name =" Should call the correct methods weh calling getListItems" time =" 0.065" >
21
+ </testcase >
22
+ <testcase classname =" PnPListItemProvider" name =" Should call the correct methods when cfalling getById" time =" 0.004" >
23
+ </testcase >
24
+ </testsuite >
25
+ <testsuite name =" tests\components\ItemsWithAdminInfo.test.tsx" errors =" 0" failures =" 0" skipped =" 0" timestamp =" 2024-07-16T20:11:27" time =" 21.479" tests =" 3" >
26
+ <testcase classname =" ItemsWithAdminInfo" name =" should display spinner while loading" time =" 0.061" >
27
+ </testcase >
28
+ <testcase classname =" ItemsWithAdminInfo" name =" should display items when loaded" time =" 0.125" >
29
+ </testcase >
30
+ <testcase classname =" ItemsWithAdminInfo" name =" should handle error when getting items fails" time =" 0.018" >
31
+ </testcase >
32
+ </testsuite >
33
+ </testsuites >
Original file line number Diff line number Diff line change 58
58
"testRegex" : " (/__tests__/.*|(\\ .|/)(test|spec))\\ .(jsx?|tsx?)$"
59
59
},
60
60
"jest-junit" : {
61
- "ouputDirectory" : " reports" ,
61
+ "ouputDirectory" : " ./ reports" ,
62
62
"outputName" : " jest-junit.xml" ,
63
63
"ancestorSeperator" : " > " ,
64
64
"uniqueOutputName" : false ,
You can’t perform that action at this time.
0 commit comments