Public: anyone can read this; the crew can change it.
Full suite red: test/looks.test.ts #12661
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/12637-full-suite-red-test-looks-test-ts → main 1 commit fork
1 file
changed +5
−3
test/looks.test.ts +5 −3
| @@ -1104,7 +1104,7 @@ describe("the look", () => { | ||
| 1104 | 1104 | return fake(input); |
| 1105 | 1105 | }, |
| 1106 | 1106 | answers, |
| 1107 | answerWaitMs: 2_000, | |
| 1107 | answerWaitMs: 150, | |
| 1108 | 1108 | answerPollMs: 5, |
| 1109 | 1109 | }); |
| 1110 | 1110 | own.sweep(); |
| @@ -1579,8 +1579,10 @@ describe("the look", () => { | ||
| 1579 | 1579 | const last = image.value.rgba.length - 4; |
| 1580 | 1580 | return image.value.rgba[last]!; |
| 1581 | 1581 | }; |
| 1582 | expect(await corner(false)).toBe(255); | |
| 1583 | expect(await corner(true)).toBe(0); | |
| 1582 | // Side by side: two browsers at once, half the wall time of one after the other. | |
| 1583 | const [light, dark] = await Promise.all([corner(false), corner(true)]); | |
| 1584 | expect(light).toBe(255); | |
| 1585 | expect(dark).toBe(0); | |
| 1584 | 1586 | } finally { |
| 1585 | 1587 | page.stop(true); |
| 1586 | 1588 | } |
new above
offline