-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreport.xml
More file actions
154 lines (150 loc) · 6.33 KB
/
Copy pathreport.xml
File metadata and controls
154 lines (150 loc) · 6.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="root">
<testsuite name="file:///tests/annotations.test.mjs" timestamp="2025-04-30T12:12:28.792Z" hostname="Yohays-MacBook-Pro.local" failures="0" skipped="4" time="0.0054340000000000005">
<testcase name="Math Operations > Addition > should return 4 when adding 2 + 2" time="0.000173"/>
<testcase name="Math Operations > Addition > should return 0 when adding -2 + 2" time="0.000039">
<skipped/>
</testcase>
<testcase name="Math Operations > Addition > should handle floating point addition" time="0.000449">
<skipped type="todo"/>
</testcase>
<testcase name="Math Operations > Subtraction" time="0.000034" testNumber="2">
<skipped/>
</testcase>
<testcase name="Math Operations > Multiplication" time="0.00003" testNumber="3">
<skipped type="todo"/>
</testcase>
<testcase name="Math Operations > Division > should return 2 when dividing 4 / 2" time="0.000053"/>
<testcase name="Math Operations > Division > should throw an error when dividing by 0" time="0.000175"/>
</testsuite>
<testsuite name="tests/edge-cases.test.mjs" timestamp="2025-04-30T12:12:28.797Z" hostname="Yohays-MacBook-Pro.local" failures="1" skipped="0" time="0.032008">
<testcase name="/Users/ynahmany/Documents/github/currents/currents-nodejs-github-actions-example/tests/edge-cases.test.mjs" time="0.032008">
<failure type="testCodeFailure" message="test failed
{
"failureType": "testCodeFailure",
"cause": "test failed",
"code": "ERR_TEST_FAILURE",
"exitCode": 1,
"signal": null
}
"><![CDATA[{
"failureType": "testCodeFailure",
"cause": "test failed",
"code": "ERR_TEST_FAILURE",
"exitCode": 1,
"signal": null
}
]]></failure>
</testcase>
</testsuite>
<testsuite name="file:///tests/nesting.test.mjs" timestamp="2025-04-30T12:12:28.799Z" hostname="Yohays-MacBook-Pro.local" failures="3" skipped="0" time="0.006468">
<testcase name="Math Operations > Addition > should return 5 when adding 2 and 3" time="0.00019"/>
<testcase name="Math Operations > Addition > should return 0 when adding -1 and 1" time="0.000378"/>
<testcase name="Math Operations > Subtraction > should return 1 when subtracting 3 from 4" time="0.000126"/>
<testcase name="Math Operations > Subtraction > should return -2 when subtracting 3 from 1" time="0.000034"/>
<testcase name="Math Operations > Multiplication > should return 6 when multiplying 2 and 3" time="0.000052"/>
<testcase name="Math Operations > Multiplication > should return 0 when multiplying any number by 0" time="0.000035"/>
<testcase name="Math Operations > Division > should return 2 when dividing 6 by 3" time="0.000048"/>
<testcase name="Math Operations > Division > should throw an error when dividing by 0" time="0.000405">
<failure type="testCodeFailure" message="Missing expected exception.
{
"failureType": "testCodeFailure",
"cause": {
"generatedMessage": false,
"code": "ERR_ASSERTION",
"expected": {},
"operator": "throws"
},
"code": "ERR_TEST_FAILURE"
}
"><![CDATA[{
"failureType": "testCodeFailure",
"cause": {
"generatedMessage": false,
"code": "ERR_ASSERTION",
"expected": {},
"operator": "throws"
},
"code": "ERR_TEST_FAILURE"
}
]]></failure>
</testcase>
</testsuite>
<testsuite name="file:///tests/simple.test.mjs" timestamp="2025-04-30T12:12:28.800Z" hostname="Yohays-MacBook-Pro.local" failures="2" skipped="0" time="0.00261">
<testcase name="Math operations - addition" time="0.000539"/>
<testcase name="Math operations - subtraction" time="0.000046"/>
<testcase name="Math operations - multiplication" time="0.00004"/>
<testcase name="Math operations - division" time="0.000038"/>
<testcase name="Math operations - division by zero" time="0.000114"/>
<testcase name="Math operations - incorrect addition" time="0.001152">
<failure type="testCodeFailure" message="Expected values to be strictly equal:
4 !== 5
{
"failureType": "testCodeFailure",
"cause": {
"generatedMessage": true,
"code": "ERR_ASSERTION",
"actual": 4,
"expected": 5,
"operator": "strictEqual"
},
"code": "ERR_TEST_FAILURE"
}
"><![CDATA[{
"failureType": "testCodeFailure",
"cause": {
"generatedMessage": true,
"code": "ERR_ASSERTION",
"actual": 4,
"expected": 5,
"operator": "strictEqual"
},
"code": "ERR_TEST_FAILURE"
}
]]></failure>
</testcase>
<testcase name="Math operations - incorrect addition > should return 5" time="0.000681">
<failure type="testCodeFailure" message="Expected values to be strictly equal:
4 !== 5
{
"failureType": "testCodeFailure",
"cause": {
"generatedMessage": true,
"code": "ERR_ASSERTION",
"actual": 4,
"expected": 5,
"operator": "strictEqual"
},
"code": "ERR_TEST_FAILURE"
}
"><![CDATA[{
"failureType": "testCodeFailure",
"cause": {
"generatedMessage": true,
"code": "ERR_ASSERTION",
"actual": 4,
"expected": 5,
"operator": "strictEqual"
},
"code": "ERR_TEST_FAILURE"
}
]]></failure>
</testcase>
</testsuite>
<testsuite name="file:///tests/timeout.test.mjs" timestamp="2025-04-30T12:12:28.800Z" hostname="Yohays-MacBook-Pro.local" failures="1" skipped="0" time="0.002001">
<testcase name="this will timeout" time="0.002001">
<failure type="cancelledByParent" message="Promise resolution is still pending but the event loop has already resolved
{
"failureType": "cancelledByParent",
"cause": "Promise resolution is still pending but the event loop has already resolved",
"code": "ERR_TEST_FAILURE"
}
"><![CDATA[{
"failureType": "cancelledByParent",
"cause": "Promise resolution is still pending but the event loop has already resolved",
"code": "ERR_TEST_FAILURE"
}
]]></failure>
</testcase>
</testsuite>
</testsuites>