fix(coverage): better code coverage (#51) #60
Annotations
1 error, 1 warning, and 1 notice
e2e/rating/rating.e2e-spec.ts#L207
1) [react:webkit] › rating/rating.e2e-spec.ts:170:2 › Rating tests › Config ──────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 20
+ Received + 20
@@ -68,29 +68,29 @@
"rootClasses": Array [
"d-inline-flex",
"au-rating",
],
"stars": Array [
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
+ "★",
+ "★",
+ "★",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
],
"text": "3 out of 20",
"value": "3",
}
205 | stars: createArray(20, '*'),
206 | };
> 207 | expect(await ratingPO.state()).toEqual(expectedState);
| ^
208 |
209 | await ratingDemoPO.locatorBtnConfigSlotStar('custom').click();
210 | expectedState = {
at /home/runner/work/AgnosUI/AgnosUI/e2e/rating/rating.e2e-spec.ts:207:34
|
[react:webkit] › alert/alert.e2e-spec.ts#L1
[react:webkit] › alert/alert.e2e-spec.ts took 23.3s
|
|
The logs for this run have expired and are no longer available.
Loading